/* =========================
   PRIVATE PHARMACY CARE
   HOMEPAGE â€” CLEAN TREATMENT HUB VERSION
========================= */

/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input,
button,
textarea,
select {
  font: inherit;
}
button {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}
:where(p, ul, ol) + :where(p, ul, ol) {
  margin-top: 1rem;
}

/* THEME */
:root {
  --brand-950: #082419;
  --brand-900: #123a2b;
  --brand-800: #174733;
  --brand-700: #236b51;
  --brand-600: #2b7a5c;
  --brand-500: #3a8c6c;
  --brand-100: #e8f5ee;
  --brand-50: #f4fbf7;

  --gold: #d7ad63;
  --gold-soft: #fff5e3;

  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;

  --footer-bg: #0b1220;
  --footer-text: #e5e7eb;

  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.35rem;
  --radius-xl: 1.8rem;
  --radius-xxl: 2.25rem;

  --shadow-sm:
    0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 14px 42px rgba(16, 24, 40, 0.1);
  --shadow-lg: 0 28px 80px rgba(16, 24, 40, 0.15);

  --container-max: 1200px;
}

/* TYPOGRAPHY */
html {
  font-size: 100%;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
}

h1 {
  font-size: clamp(2.65rem, 5.4vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

h3 {
  font-size: clamp(1.12rem, 1.3vw, 1.45rem);
}

p,
li {
  color: var(--muted);
}

p {
  font-size: 1rem;
}

/* UTILITIES */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  padding: 0.6rem 0.85rem;
  background: #fff;
  border: 2px solid var(--brand-600);
  border-radius: 0.65rem;
  z-index: 9999;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--brand-600);
}

.eyebrow-light {
  color: #dff7eb;
}

.eyebrow-light::before {
  background: #dff7eb;
}

/* HEADER + NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 0.5px 0 rgba(16, 24, 40, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
}

.brand-logo {
  width: 260px;
  height: auto;
}

.primary-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
}

.nav-link {
  display: inline-block;
  padding: 0.3rem 0.25rem;
  font-weight: 650;
  color: var(--muted);
  border-radius: 0.5rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link[aria-current="page"],
.nav-link.is-active {
  color: var(--brand-600);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.6rem;
  margin-left: auto;
  width: 48px;
  height: 40px;
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle::before,
.nav-toggle .nav-toggle-bar,
.nav-toggle::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .brand-logo {
    width: 220px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 56px 0 auto 0;
    background: #fff;
    border-top: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem clamp(1rem, 3vw, 2rem);
  }

  .nav-link {
    width: 100%;
    padding: 0.9rem 0;
    display: block;
  }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.25rem;
  font-weight: 850;
  border-radius: 999px;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.08s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 14px 30px rgba(43, 122, 92, 0.24);
}

.btn-primary:hover {
  background: var(--brand-700);
  box-shadow: 0 18px 38px rgba(43, 122, 92, 0.3);
}

.btn-outline {
  background: #fff;
  color: var(--brand-700);
  border-color: rgba(43, 122, 92, 0.22);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--brand-50);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn-light {
  background: #fff;
  color: var(--brand-800);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.btn-light:hover {
  background: #f8fafc;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* HERO */
.ppc-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.2rem, 7vw, 6.4rem);
  background:
    radial-gradient(
      900px 420px at 12% 4%,
      rgba(43, 122, 92, 0.14),
      transparent 62%
    ),
    radial-gradient(
      900px 420px at 88% 6%,
      rgba(215, 173, 99, 0.16),
      transparent 58%
    ),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.ppc-hero::before {
  content: "";
  position: absolute;
  inset: auto -10rem -18rem auto;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  background: rgba(43, 122, 92, 0.08);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 45rem;
}

.hero-copy h1 {
  margin-top: 0.8rem;
}

.hero-lead {
  margin-top: 1.15rem;
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: #475569;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.58rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(43, 122, 92, 0.15);
  box-shadow: var(--shadow-sm);
  color: #334155;
  font-weight: 800;
  font-size: 0.9rem;
}

.trust-pill span {
  display: grid;
  place-items: center;
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.75rem;
}

.hero-card {
  position: relative;
}

.hero-card-image {
  overflow: hidden;
  border-radius: var(--radius-xxl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.hero-card-image img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
}

.hero-mini-card {
  position: absolute;
  left: -1.25rem;
  bottom: 1.25rem;
  width: min(335px, 88%);
  padding: 1.05rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: var(--shadow-md);
}

.mini-title {
  color: var(--brand-700);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero-mini-card ol {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.hero-mini-card li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #334155;
  font-weight: 750;
  font-size: 0.92rem;
}

.hero-mini-card li span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 0.76rem;
  font-weight: 900;
}

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

  .hero-copy {
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-card {
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .ppc-hero {
    padding-block: 2.5rem 3rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-mini-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -1rem;
  }

  .trust-pill {
    width: 100%;
    justify-content: center;
  }
}

/* CONTACT BAR */
.contact-bar {
  position: relative;
  z-index: 2;
  margin-top: -1.35rem;
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: var(--shadow-md);
}

.contact-heading {
  color: var(--text);
  font-weight: 900;
  font-size: 1.02rem;
}

.contact-bar-inner p + p {
  margin-top: 0.1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid rgba(43, 122, 92, 0.16);
  color: var(--brand-700);
  font-weight: 850;
}

.contact-links a:first-child {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 12px 24px rgba(43, 122, 92, 0.22);
}

@media (max-width: 820px) {
  .contact-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-links,
  .contact-links a {
    width: 100%;
  }
}

/* CLEAN TREATMENT HUB */
.treatment-hub {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.6rem, 8vw, 6.8rem);
  background:
    radial-gradient(
      1000px 520px at 14% 0%,
      rgba(43, 122, 92, 0.1),
      transparent 64%
    ),
    radial-gradient(
      1000px 520px at 88% 12%,
      rgba(215, 173, 99, 0.12),
      transparent 62%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbf9 52%, #ffffff 100%);
}

.treatment-hub::before {
  content: "";
  position: absolute;
  inset: 8rem auto auto -18rem;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  background: rgba(43, 122, 92, 0.07);
  filter: blur(6px);
}

.hub-heading {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

.hub-heading h2 {
  margin-top: 0.6rem;
}

.hub-heading p {
  margin-top: 0.8rem;
}

.hub-shell {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border-radius: 2.4rem;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.82)
    ),
    radial-gradient(
      700px 360px at 10% 0%,
      rgba(43, 122, 92, 0.08),
      transparent 70%
    ),
    radial-gradient(
      700px 360px at 92% 10%,
      rgba(215, 173, 99, 0.1),
      transparent 70%
    );
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hub-toolbar {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hub-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.6rem;
  padding: 0.65rem 1rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: var(--shadow-sm);
}

.hub-search span {
  color: var(--brand-700);
  width: 1.4rem;
  flex: 0 0 auto;
}

.hub-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-weight: 700;
}

.hub-search input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.hub-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hub-filter {
  appearance: none;
  border: 1px solid rgba(43, 122, 92, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  padding: 0.65rem 0.88rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.08s ease,
    border-color 0.2s ease;
}

.hub-filter:hover {
  transform: translateY(-1px);
  background: var(--brand-50);
}

.hub-filter.is-active {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
}

.hub-main {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 1rem;
  align-items: stretch;
}

/* Theme colour variables used by both the spotlight and each treatment card */
.theme-green {
  --theme-a: #236b51;
  --theme-b: #7bc3a2;
  --theme-soft: #e8f5ee;
  --theme-rgb: 43, 122, 92;
}
.theme-blue {
  --theme-a: #1e5b8f;
  --theme-b: #73b7e7;
  --theme-soft: #eaf4fc;
  --theme-rgb: 30, 91, 143;
}
.theme-teal {
  --theme-a: #14756f;
  --theme-b: #79d6c8;
  --theme-soft: #e8fbf7;
  --theme-rgb: 20, 117, 111;
}
.theme-rose {
  --theme-a: #9f4562;
  --theme-b: #efa8bb;
  --theme-soft: #fff0f4;
  --theme-rgb: 159, 69, 98;
}
.theme-gold {
  --theme-a: #a36d1c;
  --theme-b: #e4bc72;
  --theme-soft: #fff6e6;
  --theme-rgb: 163, 109, 28;
}
.theme-pink {
  --theme-a: #9b4c80;
  --theme-b: #efa7d7;
  --theme-soft: #fff0fa;
  --theme-rgb: 155, 76, 128;
}
.theme-indigo {
  --theme-a: #4b4b9f;
  --theme-b: #a6a7f2;
  --theme-soft: #f0f0ff;
  --theme-rgb: 75, 75, 159;
}
.theme-mint {
  --theme-a: #2b7a5c;
  --theme-b: #a7e5d1;
  --theme-soft: #effcf7;
  --theme-rgb: 43, 122, 92;
}
.theme-cyan {
  --theme-a: #16728a;
  --theme-b: #91dceb;
  --theme-soft: #effbfe;
  --theme-rgb: 22, 114, 138;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  border-radius: 2rem;
  padding: 1.15rem;
  background:
    radial-gradient(
      680px 340px at 22% 0%,
      rgba(255, 255, 255, 0.22),
      transparent 70%
    ),
    linear-gradient(145deg, var(--brand-950), var(--brand-700));
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  display: grid;
  grid-template-rows: auto 1fr;
}

.spotlight-bg {
  position: absolute;
  inset: -30%;
  opacity: 0.42;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.3),
      transparent 18%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(215, 173, 99, 0.25),
      transparent 16%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(255, 255, 255, 0.16),
      transparent 20%
    );
  filter: blur(12px);
  animation: floatGlow 10s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from {
    transform: translate3d(-2%, -2%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 3%, 0) scale(1.05);
  }
}

.spotlight-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(19rem, 66vw);
  aspect-ratio: 1.22 / 1;
  border-radius: 2rem;
  margin-inline: auto;
  margin-top: 0.2rem;
  color: #fff;
  background:
    radial-gradient(
      140px 90px at 25% 18%,
      rgba(255, 255, 255, 0.48),
      transparent 62%
    ),
    linear-gradient(145deg, var(--theme-a), var(--theme-b));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 70px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

.spotlight-visual::before {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.12);
  z-index: -1;
}

.spotlight-visual::after {
  content: "";
  position: absolute;
  inset: -0.55rem;
  border-radius: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: -2;
}

.spotlight-illustration {
  width: 86%;
  color: #fff;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.18));
}

.spotlight-content {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.2rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.spotlight-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
}

.spotlight-content h3 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.spotlight-content p {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 0.75rem;
  max-width: 42rem;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.browser-panel {
  overflow: hidden;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.browser-kicker {
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#browserCount {
  margin-top: 0.1rem;
  font-size: 0.9rem;
  font-weight: 750;
  color: #64748b;
}

.browser-controls {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.round-control,
.pause-control {
  appearance: none;
  border: 1px solid rgba(43, 122, 92, 0.18);
  background: #fff;
  color: var(--brand-700);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    background-color 0.2s ease,
    transform 0.08s ease;
}

.round-control {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  line-height: 1;
}

.pause-control {
  min-height: 2.75rem;
  padding-inline: 0.9rem;
  font-weight: 850;
}

.round-control:hover,
.pause-control:hover {
  background: var(--brand-50);
  transform: translateY(-1px);
}

.browser-window {
  overflow: hidden;
  padding: 0.25rem;
  margin-inline: -0.25rem;
  flex: 1;
}

.treatment-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.treatment-mini-card {
  appearance: none;
  text-align: left;
  cursor: pointer;
  flex: 0 0 calc((100% - 2rem) / 3);
  min-height: 21.5rem;
  padding: 0.78rem;
  border-radius: 1.55rem;
  background: #fff;
  color: var(--text);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.85rem;
}

.treatment-mini-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -45% auto;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: rgba(var(--theme-rgb), 0.11);
  filter: blur(1px);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.treatment-mini-card:hover,
.treatment-mini-card.is-active {
  transform: translateY(-5px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.13);
  border-color: rgba(var(--theme-rgb), 0.28);
}

.treatment-mini-card:hover::before,
.treatment-mini-card.is-active::before {
  transform: scale(1.18);
  opacity: 1;
}

.treatment-mini-card.is-active {
  box-shadow: 0 18px 50px rgba(var(--theme-rgb), 0.2);
}

.treatment-mini-card.is-active::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme-a), var(--theme-b));
}

.mini-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 8.8rem;
  border-radius: 1.25rem;
  color: var(--theme-a);
  background:
    radial-gradient(
      120px 82px at 26% 18%,
      rgba(255, 255, 255, 0.95),
      transparent 62%
    ),
    linear-gradient(145deg, var(--theme-soft), rgba(var(--theme-rgb), 0.13));
  box-shadow: inset 0 0 0 1px rgba(var(--theme-rgb), 0.1);
  overflow: hidden;
}

.mini-visual::before {
  content: "";
  position: absolute;
  width: 6rem;
  height: 6rem;
  right: -2.2rem;
  top: -2.2rem;
  border-radius: 999px;
  background: rgba(var(--theme-rgb), 0.11);
}

.mini-visual::after {
  content: "";
  position: absolute;
  width: 5rem;
  height: 5rem;
  left: -2.4rem;
  bottom: -2.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-illustration {
  position: relative;
  z-index: 1;
  width: 92%;
  color: var(--theme-a);
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.1));
}

.mini-card-copy {
  position: relative;
  z-index: 1;
  display: block;
  align-self: end;
  padding-inline: 0.25rem;
}

.mini-card-copy strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
}

.mini-card-copy small {
  display: block;
  margin-top: 0.38rem;
  color: #64748b;
  font-weight: 800;
}

.mini-status {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  border: 1px solid rgba(226, 232, 240, 0.95);
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.hub-progress {
  overflow: hidden;
  height: 0.45rem;
  border-radius: 999px;
  background: #e2e8f0;
  margin-top: 0.9rem;
}

.hub-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-600), var(--gold));
  transition: width 0.3s ease;
}

.hub-empty {
  text-align: center;
  padding: 1rem;
  color: #64748b;
  font-weight: 800;
}

.hub-bottom-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

@media (max-width: 1024px) {
  .hub-main {
    grid-template-columns: 1fr;
  }

  .spotlight-card {
    min-height: 29rem;
  }

  .treatment-mini-card {
    flex-basis: calc((100% - 1rem) / 2);
    min-height: 19rem;
  }
}

@media (max-width: 700px) {
  .hub-shell {
    border-radius: 1.5rem;
  }

  .hub-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hub-filter {
    flex: 0 0 auto;
  }

  .hub-main {
    gap: 0.85rem;
  }

  .spotlight-card {
    min-height: auto;
    padding: 0.85rem;
    border-radius: 1.5rem;
  }

  .spotlight-visual {
    width: 100%;
    max-width: 18rem;
    border-radius: 1.6rem;
  }

  .spotlight-content {
    padding: 1rem;
  }

  .spotlight-actions .btn {
    width: 100%;
  }

  .browser-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .browser-controls {
    width: 100%;
  }

  .pause-control {
    margin-left: auto;
  }

  .treatment-mini-card {
    flex-basis: 100%;
    min-height: 18rem;
  }
}

/* SHARED SECTION HEADING */
.section-heading {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.45rem);
}

.section-heading h2 {
  margin-top: 0.55rem;
}

.section-heading p {
  margin-top: 0.75rem;
  color: #64748b;
}

/* PROCESS */
.process-section {
  padding-block: clamp(3.2rem, 7vw, 5.7rem);
  background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
  border-block: 1px solid rgba(226, 232, 240, 0.75);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(1.6rem, 5vw, 4rem);
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 6rem;
}

.process-copy h2 {
  margin-top: 0.55rem;
}

.process-copy p {
  margin-top: 0.75rem;
}

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

.process-card {
  padding: 1.25rem;
  border-radius: 1.45rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: var(--shadow-sm);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--brand-600);
  font-weight: 900;
  font-size: 0.9rem;
}

.process-card h3 {
  margin-bottom: 0.45rem;
}

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

  .process-copy {
    position: static;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .process-cards {
    grid-template-columns: 1fr;
  }
}

/* WHY CHOOSE */
.why-section {
  padding-block: clamp(3.2rem, 7vw, 5.7rem);
}

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

.why-card {
  padding: 1.35rem;
  border-radius: 1.55rem;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
  background: var(--brand-50);
  margin-bottom: 0.9rem;
}

.why-card h3 {
  margin-bottom: 0.5rem;
}

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

/* REVIEWS */
.reviews-section {
  padding-block: clamp(3.2rem, 7vw, 5.7rem);
  background:
    radial-gradient(
      900px 380px at 12% 0%,
      rgba(43, 122, 92, 0.1),
      transparent 62%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.reviews-copy h2 {
  margin-top: 0.55rem;
}

.reviews-copy p {
  margin-top: 0.8rem;
  max-width: 58ch;
}

.review-summary {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: var(--shadow-sm);
  max-width: 26rem;
}

.review-summary strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand-700);
}

.review-summary span {
  display: block;
  color: #475569;
  font-weight: 900;
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.review-summary p {
  margin: 0;
  font-size: 0.92rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.review-card {
  padding: 1.25rem;
  border-radius: 1.55rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-card-featured {
  border-color: rgba(43, 122, 92, 0.22);
  box-shadow: 0 18px 48px rgba(43, 122, 92, 0.12);
}

.stars {
  color: #d79b2b;
  letter-spacing: 0.08em;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.review-card p {
  color: #334155;
  font-weight: 600;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.review-person > span {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-weight: 900;
}

.review-person strong {
  display: block;
  color: var(--text);
  line-height: 1.2;
}

.review-person small {
  display: block;
  color: #64748b;
  font-weight: 700;
  margin-top: 0.1rem;
}

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

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

  .reviews-copy p,
  .review-summary {
    margin-inline: auto;
  }
}

/* FINAL CTA */
.final-cta {
  padding-block: clamp(3.2rem, 7vw, 5.7rem);
  background:
    radial-gradient(
      900px 400px at 82% 0%,
      rgba(215, 173, 99, 0.18),
      transparent 62%
    ),
    linear-gradient(135deg, var(--brand-900), var(--brand-600));
}

.final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border-radius: var(--radius-xxl);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.final-card h2,
.final-card p {
  color: #fff;
}

.final-card h2 {
  margin-top: 0.55rem;
}

.final-card p {
  margin-top: 0.65rem;
  opacity: 0.86;
  max-width: 60ch;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 850px) {
  .final-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-actions,
  .final-actions .btn {
    width: 100%;
  }
}

/* FOOTER */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: clamp(2rem, 5vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.8fr 1.2fr;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  padding-bottom: 2rem;
}

.footer-col,
.footer-col p,
.footer-col li {
  color: #cbd5e1;
}

.footer-head {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.footer-brand {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
}

.gphc-wrap {
  margin-top: 0.8rem;
  max-width: 210px;
}

.gphc-badge {
  width: 100%;
  height: auto;
}

.social-row {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.social {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.2s ease;
}

.social:hover {
  background: rgba(255, 255, 255, 0.16);
}

.social .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1rem;
}

.footer-bar p {
  color: #94a3b8;
  font-size: 0.92rem;
}

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

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

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}