:root {
  --royal: #083a8c;
  --royal-2: #0b57c2;
  --navy: #071a35;
  --gold: #d8a63f;
  --gold-2: #f3d184;
  --ink: #101827;
  --muted: #64748b;
  --line: #d7e2f1;
  --bg: #f4f8ff;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}
.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 22% 25%, rgba(216,166,63,.25), transparent 28%),
    linear-gradient(135deg, #06152d 0%, #082e71 48%, #0a58c8 100%);
}
.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,26,53,.98), rgba(7,26,53,.78), rgba(8,58,140,.35)),
    url("/assets/hero-trust.png") center / cover no-repeat;
  opacity: .84;
}
.hero__grid {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 42px;
  align-items: center;
  padding-block: 72px;
}
.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .4px;
}
.section-label { color: var(--royal); }
.section-label--gold { color: var(--gold-2); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 16px;
  max-width: 780px;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.12;
  font-weight: 900;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.25;
  font-weight: 900;
}
.section-intro {
  max-width: 840px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}
h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}
.tagline {
  max-width: 760px;
  color: #eaf2ff;
  font-size: 25px;
  line-height: 1.7;
  font-weight: 800;
}
.hero__text {
  max-width: 760px;
  color: #d8e6ff;
  font-size: 18px;
  line-height: 2;
}
.lead {
  color: #d8e6ff;
  font-size: 18px;
  line-height: 2;
}
.trust-row,
.actions,
.pills,
.social-links,
.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-row { margin: 24px 0; }
.trust-row span {
  border: 1px solid rgba(243,209,132,.42);
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff7df;
  background: rgba(255,255,255,.08);
  font-weight: 800;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 900;
  cursor: pointer;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #15100a;
  box-shadow: 0 18px 35px rgba(216,166,63,.24);
  animation: goldGlow 2.8s ease-in-out infinite;
}
.btn--light {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.42);
}
.btn--danger {
  background: #fee2e2;
  color: #991b1b;
}
.btn--light-admin {
  background: #fff;
  color: var(--royal);
  border: 1px solid var(--line);
}
.hero-contact a {
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  font-size: 14px;
  font-weight: 900;
}
.doctor-card {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  animation: cardFloat 5s ease-in-out infinite;
}
.doctor-card img,
.doctor-card__placeholder {
  display: grid;
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center top;
  place-items: center;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
}
.doctor-card__placeholder strong { font-size: 30px; }
.doctor-card__placeholder span { color: #d8e6ff; }
.doctor-card__caption {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(8,58,140,.95), rgba(7,26,53,.95));
}
.doctor-card__caption span { color: #d8e6ff; line-height: 1.8; }
.section { padding: 72px 0; }
.section--white { background: var(--white); }
.section--navy {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(216,166,63,.18), transparent 30%),
    linear-gradient(135deg, var(--navy), #0b3375);
}
.intro-band {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 28px;
  align-items: center;
}
.intro-band p:last-child,
.card p,
.service-card p,
.tip-card p,
.branch-card p,
.visual-proof p {
  color: var(--muted);
  line-height: 1.9;
}
.cards {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two, .split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.service-card,
.tip-card,
.branch-card,
.visual-card,
.form,
.metric,
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(8,58,140,.07);
}
.visual-proof {
  background: linear-gradient(180deg, #eef5ff, #f8fbff);
}
.visual-proof__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.visual-proof__grid img {
  width: 100%;
  max-height: 520px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 22px 70px rgba(7,26,53,.18);
}
.conversion-panel {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(8,58,140,.08);
}
.conversion-panel strong {
  color: var(--royal);
  font-size: 20px;
}
.conversion-panel span {
  color: var(--muted);
  line-height: 1.8;
}
.service-card span {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--royal), var(--gold));
}
.journey-list {
  display: grid;
  gap: 14px;
}
.journey-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}
.journey-list strong {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #120d04;
}
.booking-card {
  border-top: 6px solid var(--gold);
}
.booking-section {
  scroll-margin-top: 24px;
  background:
    linear-gradient(135deg, rgba(7,49,118,.08), rgba(216,166,63,.13)),
    #f6f9ff;
}
.form-hint {
  margin: -4px 0 18px;
  color: var(--muted);
  line-height: 1.8;
}
.form label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-weight: 900;
}
.form-alert {
  margin: 0 0 16px;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
  line-height: 1.7;
}
.form-alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.form-alert--error {
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #fed7aa;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 112px; resize: vertical; }
.form .btn { width: 100%; margin-top: 18px; }
.quick-whatsapp {
  display: block;
  margin-top: 14px;
  color: var(--royal);
  font-weight: 900;
  text-align: center;
}
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.problem-list span {
  border-right: 4px solid var(--gold);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  color: var(--royal);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(8,58,140,.06);
}
.tips-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tip-card__thumb {
  display: grid;
  height: 132px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  font-weight: 900;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
.tip-card__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,18,41,.18), rgba(5,18,41,.72));
}
.tip-card__thumb span {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(216,166,63,.92);
  color: #140f06;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.tip-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--royal);
  font-weight: 900;
}
.social-mid {
  background: linear-gradient(135deg, #071a35, #0b57c2);
  color: #fff;
}
.social-mid__box {
  text-align: center;
}
.social-mid__box h2 {
  max-width: 760px;
  margin-inline: auto;
}
.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 900;
  transition: transform .22s ease, background .22s ease;
}
.social-icons a:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.18);
}
.social-icons span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #140f06;
}
.seo-section {
  background: #fff;
}
.seo-section p {
  color: var(--muted);
  line-height: 2;
}
.keyword-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4f8ff, #fff);
  border: 1px solid var(--line);
}
.keyword-box strong {
  width: 100%;
  color: var(--royal);
  font-size: 21px;
}
.keyword-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}
.keyword-box .btn {
  margin-top: 8px;
}
.search-hub {
  background:
    radial-gradient(circle at 85% 12%, rgba(8,58,140,.13), transparent 30%),
    linear-gradient(180deg, #f7fbff, #fff);
}
.care-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.care-paths article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(8,58,140,.06);
}
.care-paths h3 {
  margin: 0 0 10px;
  color: var(--royal);
}
.care-paths p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}
.profile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.profile-links article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(8,58,140,.07);
}
.profile-links p {
  color: var(--muted);
  line-height: 1.9;
}
.profile-links a {
  color: var(--royal);
  font-weight: 900;
}
.public-metrics .metric {
  min-height: 170px;
}
.public-metrics p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
.public-metrics strong {
  font-size: 28px;
}
.branches-section { background: linear-gradient(180deg, #f4f8ff, #fff); }
.bottom-booking {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(216,166,63,.16), transparent 28%),
    linear-gradient(135deg, #fff, #eef5ff);
  box-shadow: 0 22px 60px rgba(8,58,140,.08);
}
.bottom-booking__copy p {
  color: var(--muted);
  line-height: 2;
}
.assistant-line {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--royal));
}
.assistant-line strong {
  color: var(--gold-2);
  font-size: 20px;
}
.assistant-line span {
  color: #d8e6ff;
  line-height: 1.8;
}
.booking-card--compact {
  border-top: 6px solid var(--gold);
}
.booking-card--compact h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}
.gallery-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(216,166,63,.16), transparent 28%),
    linear-gradient(180deg, #fff, #f4f8ff);
}
.visual-slider {
  overflow: hidden;
  margin-top: 28px;
  padding: 4px;
}
.visual-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: slideVisuals 34s linear infinite;
}
.visual-slider:hover .visual-track {
  animation-play-state: paused;
}
.visual-card {
  flex: 0 0 330px;
  overflow: hidden;
  padding: 0;
}
.visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.visual-card h3 {
  margin: 0;
  padding: 16px;
  color: var(--royal);
}
.map-frame {
  width: 100%;
  height: 230px;
  margin: 16px 0 4px;
  border: 0;
  border-radius: 14px;
  background: #eaf2ff;
}
.pills { margin-top: 16px; }
.pills a,
.social-links a {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--royal);
  color: var(--white);
  font-weight: 900;
}
.pills .pill-outline,
.social-links a {
  background: #fff;
  color: var(--royal);
  border: 1px solid var(--line);
}
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}
.sticky-cta {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  display: none;
  gap: 10px;
}
.sticky-cta a {
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--gold);
  color: #130f07;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  animation: ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
  50% { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(216,166,63,.3); }
}
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 18px 35px rgba(216,166,63,.24); }
  50% { box-shadow: 0 22px 48px rgba(216,166,63,.44); }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes slideVisuals {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.service-card,
.tip-card,
.visual-card,
.branch-card {
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover,
.tip-card:hover,
.visual-card:hover,
.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 58px rgba(8,58,140,.14);
}

.admin-shell { min-height: 100vh; padding: 32px 0; }
.topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 28px; }
.metric strong { display: block; margin-top: 8px; font-size: 34px; color: var(--royal); }
.metric span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-top: 32px; }
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td { padding: 14px; text-align: right; border-bottom: 1px solid var(--line); }
th { background: #eaf2ff; }
.notice { margin-top: 18px; padding: 14px; border-radius: 8px; background: #fff7ed; color: #9a3412; font-weight: 800; }
.dashboard-preview {
  background: linear-gradient(180deg, #f4f8ff, #fff);
}
.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  width: min(1400px, calc(100% - 32px));
  margin-inline: auto;
}
.admin-main {
  min-width: 0;
}
.admin-sidebar {
  position: sticky;
  top: 16px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(8,58,140,.08);
}
.admin-sidebar strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 19px;
}
.admin-sidebar a {
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--ink);
  font-weight: 900;
}
.admin-sidebar a:hover {
  background: #eaf2ff;
  color: var(--royal);
}
.admin-hero {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(8,58,140,.08);
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.admin-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8,58,140,.07);
}
.admin-card--wide {
  grid-column: 1 / -1;
}
.admin-card h2 {
  font-size: 28px;
}
.card-head,
.table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 18px;
}
.table-toolbar {
  border-bottom: 1px solid var(--line);
}
.settings-list,
.ad-builder {
  display: grid;
  gap: 14px;
}
.settings-list input[type="file"] {
  padding: 13px;
  background: #fff;
}
.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.event-map,
.toggle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.event-map span,
.toggle-list label {
  border-radius: 999px;
  padding: 9px 12px;
  background: #f4f8ff;
  color: var(--royal);
  border: 1px solid var(--line);
  font-weight: 900;
}
.admin-list {
  margin: 0;
  padding: 0 20px 0 0;
  line-height: 2;
  color: var(--muted);
}
.mini-action {
  display: inline-flex;
  margin: 2px;
  border-radius: 999px;
  padding: 7px 10px;
  background: #eaf2ff;
  color: var(--royal);
  font-weight: 900;
}
.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 900;
}
.status.new { background: #eaf2ff; color: var(--royal); }
.status.booked { background: #ecfdf5; color: #047857; }
.status.contacted { background: #fff7ed; color: #b45309; }
.status.closed { background: #f1f5f9; color: #475569; }
.status.interested { background: #f0f9ff; color: #0369a1; }
.status.confirmed { background: #dcfce7; color: #166534; }
.status.attended { background: #fef9c3; color: #854d0e; }
.status.follow_up { background: #f5f3ff; color: #6d28d9; }
.status.not_interested { background: #fee2e2; color: #991b1b; }
.status.connected { background: #ecfdf5; color: #047857; }
.status.configured { background: #eff6ff; color: var(--royal); }
.status.not_configured { background: #f8fafc; color: #64748b; }
.status.error { background: #fef2f2; color: #b91c1c; }
.admin-muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.integration-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.integration-strip > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 34px rgba(8, 58, 140, .06);
}
.messaging-grid {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}
.message-feed {
  display: grid;
  gap: 12px;
}
.message-row,
.template-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  padding: 14px;
}
.message-row strong,
.message-row span {
  display: block;
}
.message-row span,
.template-item span {
  color: var(--muted);
  font-size: 13px;
}
.message-row p {
  margin: 8px 0 0;
  color: var(--navy);
  line-height: 1.75;
}
.template-list {
  display: grid;
  gap: 12px;
}
.template-item summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--navy);
}
.template-item .settings-list {
  margin-top: 14px;
}
code {
  direction: ltr;
  display: inline-block;
  background: #eff6ff;
  color: var(--royal);
  border-radius: 8px;
  padding: 4px 8px;
}
.crm-board {
  margin-top: 32px;
}
.lead-editor {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #f8fbff;
}
.lead-editor summary {
  cursor: pointer;
  color: var(--royal);
  font-weight: 900;
}
.lead-editor--inline {
  background: #fff;
}
.full-field {
  grid-column: 1 / -1;
}
.lead-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.lead-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(8,58,140,.07);
}
.lead-card.status-new { border-top: 5px solid var(--royal); }
.lead-card.status-contacted { border-top: 5px solid #f59e0b; }
.lead-card.status-interested { border-top: 5px solid #0ea5e9; }
.lead-card.status-booked { border-top: 5px solid #10b981; }
.lead-card.status-confirmed { border-top: 5px solid #16a34a; }
.lead-card.status-attended { border-top: 5px solid #eab308; }
.lead-card.status-follow_up { border-top: 5px solid #7c3aed; }
.lead-card.status-closed { border-top: 5px solid #94a3b8; }
.lead-card.status-not_interested { border-top: 5px solid #ef4444; }
.lead-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.lead-card__head strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}
.lead-card__head span:not(.status) {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lead-meta span {
  border-radius: 999px;
  padding: 7px 10px;
  background: #eef5ff;
  color: var(--royal);
  font-size: 13px;
  font-weight: 800;
}
.lead-notes {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lead-follow-note {
  border-right: 4px solid var(--gold);
  padding-right: 10px;
  background: #fffaf0;
  border-radius: 10px;
}
.lead-filters {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(140px, .7fr)) auto auto;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.source-report {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.source-report span {
  border-radius: 999px;
  padding: 9px 12px;
  background: #eef5ff;
  color: var(--royal);
  font-weight: 800;
}
.utm-builder textarea {
  min-height: 78px;
  direction: ltr;
  text-align: left;
}
.empty-state {
  margin-top: 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 22px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}
.mini-posts {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}
.mini-posts div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
}
.mini-posts img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

/* SaaS admin V2 */
.dashboard-preview {
  --admin-primary: #0A2342;
  --admin-secondary: #2563EB;
  --admin-success: #10B981;
  --admin-warning: #F59E0B;
  --admin-danger: #EF4444;
  --admin-bg: #F8FAFC;
  background: var(--admin-bg);
}
.admin-shell {
  padding: 0;
}
.admin-layout {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0;
  direction: ltr;
}
.admin-main {
  grid-column: 1;
  direction: rtl;
  padding: 22px 24px 56px;
  overflow: hidden;
}
.admin-sidebar {
  grid-column: 2;
  direction: rtl;
  position: sticky;
  top: 0;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  padding: 22px 18px;
  background:
    radial-gradient(circle at 20% 0, rgba(37,99,235,.34), transparent 34%),
    linear-gradient(180deg, #061b35, #0A2342 70%, #06172e);
  color: #fff;
  box-shadow: -20px 0 60px rgba(10,35,66,.16);
}
.sidebar-brand {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand-mark,
.avatar-dot {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--admin-secondary), #0EA5E9);
  color: #fff;
  font-weight: 900;
}
.admin-sidebar strong {
  color: #fff;
  font-size: 18px;
}
.admin-sidebar small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  line-height: 1.5;
}
.admin-sidebar a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  color: rgba(255,255,255,.86);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 13px;
  font-size: 14px;
}
.admin-sidebar a span {
  display: inline-grid;
  place-items: center;
  color: #93C5FD;
}
.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: linear-gradient(135deg, var(--admin-secondary), #0B57C2);
  color: #fff;
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 14px 30px rgba(37,99,235,.24);
}
.admin-sidebar a.active span,
.admin-sidebar a:hover span {
  color: #fff;
}
.admin-topbar {
  display: grid;
  grid-template-columns: minmax(230px, .9fr) minmax(300px, 1fr) auto 48px;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.admin-user,
.admin-search,
.date-pill,
.menu-icon {
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.admin-user strong,
.admin-user small {
  display: block;
}
.admin-user small {
  color: #64748b;
  font-weight: 700;
}
.notif-badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-inline-start: auto;
  border-radius: 999px;
  background: #EF4444;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.admin-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
}
.admin-search input {
  border: 0;
  outline: 0;
  width: 100%;
  padding: 4px;
  background: transparent;
}
.date-pill {
  padding: 12px 16px;
  color: #475569;
  font-weight: 900;
}
.menu-icon {
  width: 48px;
  height: 48px;
  color: var(--admin-primary);
  font-size: 20px;
}
.admin-hero,
.admin-card,
.platform-panel,
.metric {
  border: 1px solid #D7E2F1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15,23,42,.06);
}
.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px;
}
.admin-hero h1 {
  max-width: none;
  font-size: clamp(30px, 4vw, 52px);
  color: #061b35;
}
.metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.metric {
  position: relative;
  min-height: 120px;
  padding: 18px;
  overflow: hidden;
  color: #334155;
  font-weight: 900;
}
.metric::after {
  content: "";
  position: absolute;
  inset-inline-start: -24px;
  top: -24px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  opacity: .14;
  background: currentColor;
}
.metric strong {
  color: #0A2342;
  font-size: 31px;
}
.metric-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: #EFF6FF;
  color: var(--admin-secondary);
  font-size: 12px;
}
.metric--green .metric-icon { background: #ECFDF5; color: #059669; }
.metric--purple .metric-icon { background: #F5F3FF; color: #7C3AED; }
.metric--orange .metric-icon { background: #FFF7ED; color: #EA580C; }
.metric--red .metric-icon { background: #FEF2F2; color: #DC2626; }
.metric--cyan .metric-icon { background: #ECFEFF; color: #0891B2; }
.saas-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.45fr 1.05fr;
  gap: 16px;
  margin-top: 18px;
}
.platform-panel {
  padding: 20px;
  min-height: 220px;
}
.platform-panel h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}
.analytics-panel,
.ads-table-panel {
  grid-column: span 2;
}
.chat-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.chat-tabs span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #64748B;
  font-weight: 900;
}
.chat-tabs .active {
  color: #047857;
  background: #DCFCE7;
}
.conversation-list {
  display: grid;
  gap: 10px;
}
.conversation-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 11px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #F8FAFC;
}
.conversation-list small {
  color: #64748B;
}
.conversation-list b {
  color: #94A3B8;
  font-size: 12px;
}
.line-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 150px;
  padding: 18px;
  border-radius: 16px;
  background: repeating-linear-gradient(to top, #F1F5F9 0 1px, transparent 1px 36px);
}
.line-chart span {
  flex: 1;
  height: var(--h);
  min-height: 20px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #2563EB, #10B981);
  box-shadow: 0 12px 28px rgba(37,99,235,.2);
}
.chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  color: #64748B;
  font-weight: 800;
}
.donut-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
}
.source-donut {
  display: grid;
  place-items: center;
  align-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 48%, transparent 50%), conic-gradient(#2563EB 0 58%, #10B981 58% 80%, #F59E0B 80% 92%, #8B5CF6 92% 100%);
}
.source-donut strong {
  color: #0A2342;
  font-size: 22px;
}
.source-donut span {
  color: #64748B;
  font-size: 12px;
  font-weight: 800;
}
.donut-row ul,
.tracking-health ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.donut-row li,
.tracking-health li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
}
.donut-row li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563EB;
}
.donut-row li:nth-child(2) span { background: #10B981; }
.donut-row li:nth-child(3) span { background: #F59E0B; }
.donut-row li:nth-child(4) span { background: #8B5CF6; }
.funnel-bars {
  display: grid;
  gap: 10px;
}
.funnel-bars div {
  width: var(--w);
  min-width: 42%;
  display: flex;
  justify-content: space-between;
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(90deg, #2563EB, #60A5FA);
}
.funnel-bars div:nth-child(2) { background: linear-gradient(90deg, #10B981, #34D399); }
.funnel-bars div:nth-child(3) { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.funnel-bars div:nth-child(4) { background: linear-gradient(90deg, #EF4444, #F87171); }
.mini-table {
  min-width: 0;
  font-size: 14px;
}
.mini-table th,
.mini-table td {
  padding: 11px;
}
.platform-modules {
  margin-top: 28px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.module-grid div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid #D7E2F1;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #F8FAFC);
}
.module-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #0A2342;
  font-size: 18px;
}
.module-grid span {
  color: #64748B;
  line-height: 1.7;
}

@media (max-width: 920px) {
  .hero__grid,
  .intro-band,
  .visual-proof__grid,
  .split,
  .two,
  .social-grid,
  .admin-grid,
  .admin-layout,
  .messaging-grid,
  .bottom-booking,
  .lead-filters,
  .compact-grid {
    grid-template-columns: 1fr;
  }
  .admin-sidebar { position: static; }
  .integration-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .saas-dashboard,
  .module-grid {
    grid-template-columns: 1fr;
  }
  .analytics-panel,
  .ads-table-panel {
    grid-column: auto;
  }
  .card-head,
  .table-toolbar { flex-direction: column; }
  .services-grid,
  .tips-grid,
  .care-paths,
  .lead-cards,
  .profile-links,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-grid,
  .tips-grid,
  .problem-list,
  .care-paths,
  .lead-cards,
  .profile-links,
  .metrics {
    grid-template-columns: 1fr;
  }
  .integration-strip { grid-template-columns: 1fr; }
  .visual-card { flex-basis: 260px; }
  .hero__grid { min-height: auto; padding-block: 54px; }
  .doctor-card__placeholder { min-height: 280px; }
  .section { padding: 48px 0; }
  .sticky-cta { display: flex; }
  .admin-main { padding: 14px; }
  .admin-topbar { grid-template-columns: 1fr; }
  .donut-row { grid-template-columns: 1fr; }
}
