:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --cream: #fff8f5;
  --cyan: #00e5cc;
  --violet: #9b59ff;
  --gold: #f7c843;
  --text-mid: #444449;
  --text-muted: #727278;
  --border-dark: rgba(10, 10, 10, 0.18);
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 144px;
}

body.clinic-industry-template {
  margin: 0;
  overflow-x: clip;
  color: var(--black);
  background: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.clinic-industry-template :is(img, video) {
  max-width: 100%;
}

body.clinic-industry-template a {
  color: inherit;
  text-decoration: none;
}

body.clinic-industry-template button,
body.clinic-industry-template a {
  -webkit-tap-highlight-color: transparent;
}

body.clinic-industry-template :is(a, button, summary, video):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.wrap,
.wrap-wide {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 64px, 1380px);
}

.urgency-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 9px 24px;
  color: var(--white);
  background: var(--black);
  font-size: 13px;
}

.urgency-bar strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.urgency-bar a {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--cyan);
  color: var(--cyan);
  font-weight: 700;
}

#nav {
  position: fixed;
  inset: 44px 0 auto;
  z-index: 110;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

#nav.scrolled {
  border-bottom-color: var(--border-dark);
  background: rgba(255, 248, 245, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  position: relative;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: 32px;
}

.nav-logo {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
}

.nav-logo img {
  width: auto;
  height: 108px;
  object-fit: contain;
  padding-block: 14px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 28px;
}

.nav-actions {
  gap: 14px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--black);
}

.lang-toggle a,
.lang-toggle button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.lang-toggle a.active,
.lang-toggle button.active {
  color: var(--white);
  background: var(--black);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid var(--black);
  border-radius: 2px;
  color: var(--black);
  background: transparent;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-grad {
  border-color: transparent;
  background: linear-gradient(100deg, var(--cyan), #69c7ff 55%, var(--violet));
  box-shadow: 7px 7px 0 var(--black);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
}

body.clinic-industry-template a.btn-dark {
  color: var(--white);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.nav-hamburger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-hamburger span {
  width: 25px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  padding: 18px 28px 28px;
  border-top: 2px solid var(--black);
  background: var(--cream);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile > a:not(.btn) {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-dark);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-mobile .lang-toggle {
  margin: 4px auto 16px;
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 14px;
}

#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 140px;
  background:
    radial-gradient(circle at 8% 15%, rgba(0, 229, 204, 0.22), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(155, 89, 255, 0.16), transparent 30%),
    var(--cream);
}

.hero-body {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 58px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}

.hero-eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-eyebrow::before,
.section-kicker::before {
  content: "";
  width: 48px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--cyan);
}

.hero-h1,
.headline-lg {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero-h1 {
  max-width: 780px;
  font-size: clamp(72px, 8vw, 126px);
}

.hero-h1 .line {
  display: block;
}

.hero-h1 .accent,
.headline-lg .accent {
  display: inline-block;
  padding-inline: 0.04em;
  background: linear-gradient(100deg, #00a99a, #3476d8 52%, #7b36d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--text-mid);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  margin: 0;
  border: 2px solid var(--black);
  background: var(--black);
  box-shadow: 16px 16px 0 var(--cyan);
}

.hero-media::before {
  content: "Clinic enquiry system";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 11px;
  color: var(--white);
  background: rgba(10, 10, 10, 0.88);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-media img {
  width: 100%;
  height: clamp(440px, 44vw, 620px);
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: 62% center;
}

.hero-media figcaption {
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-full-strip {
  width: 100%;
}

.hero-stats,
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--black);
  border-bottom: 0;
  background: var(--white);
}

.hero-benefits {
  border-bottom: 2px solid var(--black);
}

.stat-cell,
.hero-benefit {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid var(--border-dark);
}

.stat-cell:last-child,
.hero-benefit:last-child {
  border-right: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-label {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hero-benefit {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-benefit-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.section,
.section-dark {
  position: relative;
  padding: clamp(84px, 9vw, 124px) 0;
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
  margin-bottom: 48px;
}

.headline-lg {
  font-size: clamp(58px, 6vw, 94px);
}

.section-intro {
  max-width: 720px;
  margin: 0;
  color: var(--text-mid);
  font-size: 18px;
  line-height: 1.75;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.7);
}

.diagnosis-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.diagnosis-tab {
  min-height: 86px;
  padding: 18px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.diagnosis-tab:last-child {
  border-right: 0;
}

.diagnosis-tab:hover,
.diagnosis-tab.active {
  color: var(--black);
  background: var(--cyan);
}

.diagnosis-result {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.diagnosis-result > div {
  padding: clamp(28px, 4vw, 50px);
}

.diagnosis-result > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.result-label {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagnosis-result strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

.diagnosis-result p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.67);
}

.diagnosis-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.diagnosis-flow span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-grid,
.media-split,
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.demo-video,
.proof-media,
.workflow-media {
  position: relative;
  margin: 0;
  border: 2px solid var(--black);
  background: var(--black);
  box-shadow: 12px 12px 0 var(--violet);
}

.demo-video video,
.workflow-media img,
.proof-media img {
  width: 100%;
  display: block;
}

.workflow-media img,
.proof-media img {
  height: auto;
}

.demo-video video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.demo-video figcaption,
.workflow-media figcaption,
.proof-media figcaption {
  padding: 14px 17px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.event-log {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--black);
  list-style: none;
}

.event-log li {
  display: grid;
  grid-template-columns: 52px 128px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border-dark);
}

.event-log time,
.event-log strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.event-log time {
  color: var(--text-muted);
}

.event-log p {
  margin: 0;
  color: var(--text-mid);
  font-size: 14px;
}

.component-rail,
.deliverable-grid,
.offer-grid,
.process-grid,
.clinic-type-grid {
  display: grid;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.component-rail {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 48px;
}

.component-rail article,
.deliverable-grid article,
.process-grid article,
.clinic-type-grid article {
  padding: 26px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.component-rail article {
  min-height: 210px;
}

.component-rail span,
.process-grid span {
  display: block;
  margin-bottom: 34px;
  color: #6f35b6;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.component-rail h3,
.deliverable-grid h3,
.offer-grid h3,
.process-grid h3,
.clinic-type-grid h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

.component-rail p,
.deliverable-grid p,
.process-grid p,
.clinic-type-grid p {
  margin: 14px 0 0;
  color: var(--text-mid);
  font-size: 14px;
}

.human-boundaries {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

.boundary-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  list-style: none;
}

.boundary-list li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.boundary-list strong {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
}

.boundary-list span {
  color: rgba(255, 255, 255, 0.68);
}

.deliverable-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid var(--black);
}

.offer-grid article {
  padding: clamp(30px, 5vw, 56px);
}

.offer-grid article + article {
  border-left: 2px solid var(--black);
  color: var(--white);
  background: var(--black);
}

.offer-label {
  display: block;
  margin-bottom: 16px;
  color: #6f35b6;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-grid article + article .offer-label {
  color: var(--cyan);
}

.offer-grid h3 {
  font-size: clamp(34px, 4vw, 54px);
}

.offer-grid ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.offer-grid li {
  margin-block: 11px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-color: rgba(255, 255, 255, 0.22);
}

.process-grid article {
  border-color: rgba(255, 255, 255, 0.22);
}

.process-grid span {
  color: var(--cyan);
}

.process-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.proof-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
}

.proof-media {
  box-shadow: 12px 12px 0 var(--gold);
}

.proof-copy p {
  color: var(--text-mid);
  font-size: 17px;
  line-height: 1.75;
}

.proof-copy .btn {
  margin-top: 12px;
}

.clinic-type-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-list {
  border-top: 2px solid var(--black);
}

.faq-list details {
  border-bottom: 1px solid var(--border-dark);
}

.faq-list summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: #6f35b6;
  font-size: 30px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--text-mid);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--border-dark);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.related-links a:hover {
  border-color: var(--black);
  background: var(--cyan);
}

.final-cta {
  padding: clamp(84px, 10vw, 140px) 0;
  color: var(--black);
  background: linear-gradient(110deg, #0fd4c2, #dbfaf4 50%, #68bbed);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.final-cta p {
  margin: 0 0 24px;
  font-size: 18px;
}

footer {
  padding: 56px 0 40px;
  color: var(--white);
  background: var(--black);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo img {
  width: auto;
  height: 80px;
  object-fit: contain;
  filter: invert(1);
}

.footer-tagline {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.footer-col h2 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-col a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

#scroll-top,
#whatsapp-btn {
  position: fixed;
  right: 22px;
  z-index: 95;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
  border-radius: 50%;
  color: var(--black);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
}

#scroll-top {
  bottom: 88px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#whatsapp-btn {
  bottom: 22px;
  background: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    position: absolute;
    top: 50%;
    right: 28px;
    display: block;
    transform: translateY(-50%);
  }

  .hero-grid,
  .demo-grid,
  .media-split,
  .proof-grid,
  .human-boundaries {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 900px;
  }

  .hero-media {
    max-width: 900px;
  }

  .hero-media img {
    height: min(62vw, 560px);
  }

  .component-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .clinic-type-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .urgency-bar {
    justify-content: space-between;
    font-size: 12px;
  }

  .urgency-bar strong {
    display: none;
  }

  .nav-inner {
    height: 88px;
    padding-inline: 20px;
  }

  .nav-logo img {
    height: 98px;
    padding-block: 12px;
  }

  .nav-hamburger {
    right: 20px;
  }

  .nav-mobile {
    max-height: calc(100vh - 132px);
    overflow-y: auto;
  }

  #hero {
    padding-top: 132px;
  }

  .hero-body {
    min-height: auto;
    padding-top: 50px;
  }

  .wrap-wide {
    width: min(100% - 48px, 1380px);
  }

  .hero-stats,
  .hero-benefits,
  .diagnosis-tabs,
  .deliverable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-cell:nth-child(2),
  .hero-benefit:nth-child(2),
  .diagnosis-tab:nth-child(2) {
    border-right: 0;
  }

  .stat-cell:nth-child(-n + 2),
  .hero-benefit:nth-child(-n + 2),
  .diagnosis-tab:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-dark);
  }

  .diagnosis-tab:nth-child(-n + 2) {
    border-bottom-color: rgba(255, 255, 255, 0.24);
  }

  .diagnosis-result,
  .section-heading,
  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .diagnosis-result > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-grid article + article {
    border-top: 2px solid var(--black);
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wrap,
  .wrap-wide {
    width: min(100% - 32px, 1180px);
  }

  .urgency-bar {
    gap: 10px;
    padding-inline: 14px;
  }

  .urgency-bar span {
    display: none;
  }

  .nav-inner {
    height: 82px;
  }

  .nav-logo img {
    height: 88px;
    padding-block: 10px;
  }

  #hero {
    padding-top: 126px;
  }

  .hero-h1 {
    font-size: clamp(58px, 18vw, 82px);
    line-height: 0.89;
  }

  .hero-ctas,
  .hero-ctas .btn {
    width: 100%;
  }

  .hero-media {
    box-shadow: 8px 8px 0 var(--cyan);
  }

  .hero-media img {
    height: min(78vw, 420px);
  }

  .hero-stats,
  .hero-benefits,
  .diagnosis-tabs,
  .deliverable-grid,
  .component-rail,
  .clinic-type-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stat-cell,
  .hero-benefit,
  .diagnosis-tab {
    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
  }

  .diagnosis-tab {
    border-bottom-color: rgba(255, 255, 255, 0.24);
  }

  .stat-cell:last-child,
  .hero-benefit:last-child,
  .diagnosis-tab:last-child {
    border-bottom: 0;
  }

  .diagnosis-flow {
    grid-template-columns: 1fr;
  }

  .event-log li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .event-log p {
    grid-column: 1 / -1;
  }

  .boundary-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo,
  .footer-tagline {
    margin-inline: auto;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  #scroll-top,
  #whatsapp-btn {
    right: 16px;
  }
}

@media (max-width: 480px) {
  #whatsapp-btn {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Homepage parity pass: the clinic page inherits the production homepage's
   typography, gradients, controls, motion, footer, and floating actions. */
:root {
  --text-mid: #444;
  --text-muted: #888;
  --border-dark: rgba(10, 10, 10, 0.15);
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wrap {
  width: 100%;
  max-width: 1280px;
  padding-inline: 32px;
}

.wrap-wide {
  width: 100%;
  max-width: 1440px;
  padding-inline: 32px;
}

.urgency-bar {
  min-height: 44px;
  padding: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.16);
}

.urgency-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  text-align: center;
}

.urgency-copy,
.urgency-link {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.urgency-copy {
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.08em;
}

.urgency-link {
  min-height: 0;
  border: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#nav {
  top: 44px;
  height: auto;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}

#nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  height: 96px;
  padding: 0 32px;
}

.nav-logo img {
  height: 108px;
  padding: 14px 0;
}

.nav-links {
  gap: 32px;
}

.nav-links a {
  min-height: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-links a::after {
  bottom: -2px;
}

.nav-links a:hover {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-actions {
  gap: 14px;
}

body.clinic-industry-template a.nav-linkedin {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--black);
  font-size: 0;
  line-height: 1;
  transition: all 0.25s var(--ease);
}

body.clinic-industry-template a.nav-linkedin svg {
  display: block;
}

body.clinic-industry-template a.nav-linkedin:hover,
body.clinic-industry-template a.nav-linkedin:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 229, 204, 0.3);
}

.lang-toggle {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-dark);
  background: rgba(10, 10, 10, 0.06);
}

.lang-toggle a,
.lang-toggle button {
  appearance: none;
  min-width: 0;
  min-height: 0;
  padding: 5px 13px;
  border: 0;
  color: var(--text-muted);
  background: none;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: normal;
  text-transform: uppercase;
  transition: all 0.2s;
}

.lang-toggle a.active,
.lang-toggle button.active {
  color: var(--white);
  background: var(--black);
}

.btn {
  min-height: 0;
  gap: 8px;
  padding: 14px 32px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: all 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 18px;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

.btn-grad {
  color: var(--black);
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: none;
}

.btn-grad:hover {
  color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 2px var(--black), 0 12px 34px rgba(0, 229, 204, 0.22);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
}

.btn-dark:hover {
  color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 2px var(--black), 0 12px 34px rgba(0, 229, 204, 0.22);
}

body.clinic-industry-template a.btn-dark:hover {
  color: var(--black);
}

.btn-outline-dark {
  border: 2px solid var(--black);
  color: var(--black);
  background: transparent;
}

.btn-outline-dark:hover {
  color: var(--white);
  background: var(--black);
}

@keyframes clinicSlideUp {
  from { opacity: 0; transform: translateY(105%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes clinicFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes clinicShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes clinicOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -18px) scale(1.04); }
}

#hero {
  padding-top: 140px;
  background: var(--cream);
  isolation: isolate;
}

#hero::before,
#hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  pointer-events: none;
  animation: clinicOrbFloat 14s ease-in-out infinite;
}

#hero::before {
  width: 500px;
  height: 500px;
  top: 30px;
  left: -180px;
  background: var(--cyan);
}

#hero::after {
  width: 560px;
  height: 560px;
  right: -210px;
  bottom: 80px;
  background: var(--violet);
  animation-delay: -6s;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow,
.section-kicker {
  color: var(--black);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-dark .section-kicker {
  color: var(--white);
}

.hero-h1,
.headline-lg {
  font-style: italic;
  letter-spacing: -0.01em;
}

.hero-h1 {
  font-size: clamp(72px, 8vw, 126px);
  line-height: 0.88;
}

.hero-h1 .line {
  overflow: hidden;
}

.hero-h1 .line > span {
  display: block;
  animation: clinicSlideUp 0.9s var(--ease) both;
}

.hero-h1 .line:nth-child(1) > span { animation-delay: 0.1s; }
.hero-h1 .line:nth-child(2) > span { animation-delay: 0.22s; }
.hero-h1 .line:nth-child(3) > span { animation-delay: 0.34s; }

.shimmer,
.hero-h1 .accent,
.headline-lg .accent {
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--cyan));
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: clinicShimmer 3s ease infinite;
}

.hero-desc {
  color: var(--text-mid);
  animation: clinicFadeIn 0.8s 0.5s both;
}

.hero-ctas {
  animation: clinicFadeIn 0.8s 0.65s both;
}

.hero-note {
  animation: clinicFadeIn 0.8s 0.75s both;
}

.hero-media {
  overflow: hidden;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: none;
  animation: clinicFadeIn 0.8s 0.45s both;
}

.hero-media::before,
.hero-media figcaption,
.demo-video figcaption,
.workflow-media figcaption,
.proof-media figcaption {
  display: none;
  content: none;
}

.hero-media img {
  height: clamp(430px, 42vw, 600px);
  object-position: center;
}

.headline-lg {
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.9;
}

.hero-benefit-dot {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.diagnosis-tab {
  color: rgba(255, 255, 255, 0.72);
  background: #09090c;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.diagnosis-tab:hover {
  color: var(--black);
  background: linear-gradient(135deg, var(--cyan) 0%, #58afea 48%, var(--violet) 100%);
  transform: translateY(-4px);
  box-shadow: -10px 12px 30px rgba(0, 229, 204, 0.22), 10px 12px 34px rgba(139, 92, 246, 0.24);
}

.diagnosis-tab.active {
  color: var(--white);
  background: #09090c;
  border-color: var(--cyan);
  box-shadow: inset 0 -4px 0 var(--cyan), 0 0 0 1px rgba(0, 229, 204, 0.22);
}

.demo-video,
.proof-media,
.workflow-media {
  box-shadow: none;
}

.aos {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.aos.visible {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }

/* Product-system selector: useful UI examples, never decorative screenshots. */
.clinic-product-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.7fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #09090c;
}

.clinic-product-tabs {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.clinic-product-tab {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 12px;
  align-content: center;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: transparent;
  text-align: left;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.clinic-product-tab:last-child {
  border-bottom: 0;
}

.clinic-product-tab > span {
  grid-row: 1 / 3;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.clinic-product-tab strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.clinic-product-tab small {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
}

.clinic-product-tab:hover,
.clinic-product-tab.active {
  background: linear-gradient(90deg, rgba(0, 229, 204, 0.12), rgba(155, 89, 255, 0.08));
}

.clinic-product-tab.active {
  box-shadow: inset 4px 0 0 var(--cyan);
}

.clinic-product-panel {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 36px;
  align-items: center;
  padding: clamp(30px, 4vw, 58px);
}

.clinic-product-panel[hidden] {
  display: none;
}

.product-label {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-panel-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.product-panel-copy p,
.product-panel-copy li {
  color: rgba(255, 255, 255, 0.66);
}

.product-panel-copy p {
  margin: 20px 0;
  line-height: 1.7;
}

.product-panel-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-panel-copy li {
  position: relative;
  margin-top: 10px;
  padding-left: 18px;
  font-size: 14px;
}

.product-panel-copy li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--cyan);
}

.product-system-link {
  display: inline-flex;
  margin-top: 26px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--cyan);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-ui {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--black);
  background: var(--white);
  box-shadow: 14px 14px 0 rgba(0, 229, 204, 0.9);
}

.ui-topline,
.ui-outcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ui-topline {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}

.ui-topline strong {
  color: #6630aa;
}

.ui-outcome {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--black);
  background: rgba(0, 229, 204, 0.12);
}

.ui-outcome span {
  color: var(--text-muted);
  font-size: 10px;
}

.voice-wave {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px 0;
  background: var(--black);
}

.voice-wave i {
  width: 5px;
  height: 22px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}

.voice-wave i:nth-child(2n) { height: 48px; }
.voice-wave i:nth-child(3n) { height: 66px; }

.ui-conversation {
  display: grid;
  gap: 8px;
}

.ui-conversation p {
  margin: 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--border-dark);
  font-size: 13px;
}

.ui-conversation b {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.message-ui {
  display: grid;
  gap: 12px;
}

.message {
  max-width: 86%;
  padding: 13px 15px;
  border: 1px solid var(--border-dark);
  font-size: 14px;
  line-height: 1.5;
}

.message.received {
  justify-self: start;
  background: #f4f4f4;
}

.message.sent {
  justify-self: end;
  background: rgba(0, 229, 204, 0.15);
}

.booking-summary,
.assistant-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.booking-summary p {
  margin: 0;
  padding: 13px;
  border: 1px solid var(--border-dark);
}

.booking-summary span,
.assistant-form span {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-summary strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.slot-grid span,
.assistant-choice span {
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--black);
  color: var(--black);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.slot-grid span.selected,
.assistant-choice span.selected {
  background: var(--cyan);
}

.assistant-choice {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.assistant-form {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.assistant-form div {
  height: 44px;
  border: 1px solid var(--border-dark);
  background: #fafafa;
}

.ui-boundary {
  margin-top: 16px;
  padding: 12px;
  border-left: 4px solid var(--violet);
  color: var(--text-mid);
  background: rgba(155, 89, 255, 0.08);
  font-size: 12px;
  line-height: 1.5;
}

.pipeline-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.pipeline-cols > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border-dark);
  background: #f7f7f7;
}

.pipeline-cols b {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
}

.pipeline-cols span {
  display: block;
  margin-top: 7px;
  padding: 9px;
  border-left: 3px solid var(--cyan);
  background: var(--white);
  font-size: 11px;
  line-height: 1.35;
}

.front-office-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.front-office-flow article {
  position: relative;
  min-height: 250px;
  padding: 26px 22px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.front-office-flow article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: -10px;
  z-index: 2;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--cyan);
  font-family: var(--font-display);
  font-weight: 800;
}

.front-office-flow span {
  color: #6630aa;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.front-office-flow h3 {
  margin: 46px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.front-office-flow p {
  margin: 14px 0 0;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.55;
}

.proof-grid {
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1.24fr);
}

.proof-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.proof-points li {
  padding: 11px 0;
  border-top: 1px solid var(--border-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-points li:last-child {
  border-bottom: 1px solid var(--border-dark);
}

.proof-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.proof-browser {
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--black);
  background: var(--white);
}

.browser-chrome {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border-dark);
  background: #f2f2f2;
}

.browser-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  opacity: 0.3;
}

.proof-crop {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.proof-crop img {
  width: 100%;
  height: auto;
  display: block;
}

.proof-crop-site img {
  transform: translateY(0);
}

.proof-crop-booking img {
  transform: translateY(-1%);
}

.final-cta {
  padding: 120px 0;
  overflow: hidden;
  background: var(--cyan);
}

.cta-orb-1,
.cta-orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: var(--white);
  opacity: 0.18;
}

.cta-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -50px;
  background: var(--violet);
  opacity: 0.35;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.cta-eyebrow {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cta-h2 {
  margin: 20px 0 28px;
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 140px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.85;
  text-transform: uppercase;
}

.cta-sub {
  max-width: 620px;
  margin: 0 auto 44px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 18px;
  line-height: 1.75;
}

.cta-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cta-actions .btn {
  width: 100%;
  min-height: 64px;
  padding: 16px clamp(14px, 1.8vw, 32px);
  justify-content: center;
  font-size: clamp(13px, 1.05vw, 18px);
  line-height: 1.15;
  white-space: normal;
}

.btn-email-grad {
  border: 2px solid transparent;
  color: var(--black);
  background: linear-gradient(90deg, var(--cyan), #55aaff, var(--violet), #e040fb);
}

.btn-email-grad:hover {
  border-color: var(--black);
  color: var(--white);
  background: var(--black);
  box-shadow: 0 12px 34px rgba(0, 229, 204, 0.22);
}

.footer-col h5 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#whatsapp-btn {
  min-width: 146px;
  max-width: calc(100vw - 36px);
  height: 54px;
  padding: 0 18px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 50px rgba(37, 211, 102, 0.26);
}

#whatsapp-btn svg {
  width: 22px;
  height: 22px;
}

.wa-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

#scroll-top {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: var(--black);
  box-shadow: none;
  transform: translateY(10px);
  transition: background 0.25s, opacity 0.3s, transform 0.3s;
}

#scroll-top.visible {
  transform: none;
}

#scroll-top:hover {
  color: var(--black);
  background: var(--cyan);
}

.vapi-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 199;
  max-width: calc(100vw - 36px);
}

@media (max-width: 1100px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  body.tfs-unified-header-ready #hero {
    padding-top: 0;
  }

  .hero-body {
    min-height: auto;
    padding-top: 64px;
  }

  .clinic-product-shell {
    grid-template-columns: 1fr;
  }

  .clinic-product-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .clinic-product-tab {
    min-height: 112px;
    grid-template-columns: 1fr;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
  }

  .clinic-product-tab > span {
    grid-row: auto;
  }

  .clinic-product-tab small {
    display: none;
  }

  .clinic-product-tab.active {
    box-shadow: inset 0 -4px 0 var(--cyan);
  }

  .clinic-product-panel {
    min-height: 0;
  }

  .front-office-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .wrap,
  .wrap-wide {
    padding-inline: 24px;
  }

  .clinic-product-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clinic-product-tab:last-child {
    grid-column: 1 / -1;
  }

  .clinic-product-panel {
    grid-template-columns: 1fr;
  }

  .system-ui {
    box-shadow: 10px 10px 0 rgba(0, 229, 204, 0.9);
  }

  .front-office-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .proof-crop {
    height: 440px;
  }

  .cta-actions {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .wrap,
  .wrap-wide {
    padding-inline: 16px;
  }

  .urgency-copy {
    display: none;
  }

  .hero-h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .clinic-product-tab {
    min-height: 88px;
    padding: 14px;
  }

  .clinic-product-tab strong {
    font-size: 19px;
  }

  .clinic-product-panel {
    padding: 24px 16px 34px;
  }

  .system-ui {
    padding: 14px;
    box-shadow: 7px 7px 0 rgba(0, 229, 204, 0.9);
  }

  .ui-outcome {
    grid-template-columns: 1fr 1fr;
  }

  .booking-summary,
  .pipeline-cols {
    grid-template-columns: 1fr;
  }

  .front-office-flow,
  .proof-showcase {
    grid-template-columns: 1fr;
  }

  .front-office-flow article {
    min-height: 0;
  }

  .front-office-flow article:not(:last-child)::after {
    top: auto;
    right: 18px;
    bottom: -10px;
    transform: rotate(90deg);
  }

  .front-office-flow h3 {
    margin-top: 22px;
  }

  .proof-crop {
    height: 390px;
  }

  #whatsapp-btn {
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    height: 56px;
    padding: 0;
  }

  #whatsapp-btn .wa-label {
    display: none;
  }
}

@media (max-width: 480px) {
  #whatsapp-btn,
  .vapi-float,
  #vapi-widget {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero::before,
  #hero::after,
  .hero-h1 .line > span,
  .shimmer,
  .hero-h1 .accent,
  .headline-lg .accent,
  .hero-desc,
  .hero-ctas,
  .hero-note,
  .hero-media {
    animation: none !important;
  }

  .diagnosis-tab:hover,
  .aos {
    transform: none !important;
  }
}
