/* =============================================================
   Prime Medihub — single stylesheet
   No frameworks, no web fonts: fast loading by design.
   ============================================================= */

:root {
  --primary: #0d9488;
  --primary-700: #0f766e;
  --primary-900: #134e4a;
  --primary-50: #f0fdfa;
  --ink: #0f172a;
  --body-color: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.05), 0 12px 32px rgba(15, 23, 42, 0.1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.65;
  color: var(--body-color);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.25;
}

img,
svg {
  vertical-align: middle;
}

a {
  color: var(--primary-700);
}

:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.5);
  outline-offset: 2px;
}

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  width: min(100% - 40px, 1160px);
  margin-inline: auto;
}
.text-center {
  text-align: center;
}
.center-cta {
  text-align: center;
  margin-top: 38px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -52px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: inherit;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.btn svg {
  flex: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}
.btn-primary:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
}
.btn-ghost {
  background: #fff;
  color: var(--primary-700);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-900);
}
.btn-wa {
  background: var(--wa);
  color: #fff;
}
.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
}
.btn-light {
  background: #fff;
  color: var(--primary-700);
}
.btn-light:hover {
  transform: translateY(-1px);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ── Header & navigation ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 160px;
  height: 80px;
  object-fit: contain;
  /* border: 1px solid red; */
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.brand-light {
  color: #fff;
}
.brand-light .brand-text small {
  color: #94a3b8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--body-color);
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s;
}
.site-nav ul a:hover,
.site-nav ul a.active {
  background: var(--primary-50);
  color: var(--primary-700);
}
.site-nav ul a svg {
  opacity: 0.55;
  transition: transform 0.18s;
}

.has-dropdown {
  position: relative;
}
.has-dropdown:hover > a svg {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown li {
  list-style: none;
}
.dropdown li + li {
  margin-top: 2px;
}
.dropdown a {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 10px;
}
.dropdown a:hover {
  background: var(--primary-50);
}
.dropdown strong {
  font-size: 0.93rem;
  color: var(--ink);
}
.dropdown small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle-box {
  display: block;
  width: 24px;
}
.nav-toggle-box span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
body.nav-open .nav-toggle-box span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
body.nav-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle-box span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 88% -10%, rgba(13, 148, 136, 0.14), transparent 60%), radial-gradient(560px 300px at -8% 110%, rgba(13, 148, 136, 0.1), transparent 60%),
    linear-gradient(180deg, #ecfdf9 0%, var(--bg) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 84px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-700);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
}
.hero-title .accent {
  color: var(--primary);
}
.hero-sub {
  font-size: 1.08rem;
  max-width: 54ch;
  margin: 0 0 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-chips li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--primary-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
}
.hero-chips svg {
  color: var(--primary);
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}
.hero-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  margin: 0 0 14px;
}
.hero-card h2 svg {
  color: var(--primary);
}
.hero-card .btn {
  width: 100%;
}
.hero-card-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: center;
}
.hours-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.94rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}
.hours-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.hours-list strong {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

/* ── Stat strip ─────────────────────────────────────────────── */
.stat-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 26px 18px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child {
  border-left: 0;
}
.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-700);
  letter-spacing: -0.02em;
}
.stat span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 78px 0;
}
.section-alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.kicker {
  display: block;
  color: var(--primary-700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

/* ── Cards ──────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    border-color 0.22s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.35);
}
.service-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.feature .icon-badge {
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 1.02rem;
  margin: 0 0 6px;
}
.feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ── Doctor cards ───────────────────────────────────────────── */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.doctor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.doctor-card h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}
.doctor-card .specialty {
  color: var(--primary-700);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 6px;
}
.doctor-card .quals,
.doctor-card .meta {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 4px;
}
.doctor-card .summary {
  font-size: 0.92rem;
  margin: 12px 0 18px;
}
.doctor-card .btn {
  margin-top: auto;
  align-self: center;
}

.doctor-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
}
.avatar-initials {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #115e59 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

/* ── Quotes ─────────────────────────────────────────────────── */
.quote-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin: 0;
}
.quote-card blockquote {
  margin: 0 0 14px;
  font-size: 0.97rem;
}
.quote-card figcaption {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}
.quote-card figcaption span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
}

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--primary-700), var(--primary));
  border-radius: 22px;
  color: #fff;
  padding: 52px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 20px 44px rgba(13, 148, 136, 0.3);
}
.cta-band h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
}
.cta-band p {
  margin: 0;
  opacity: 0.92;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Inner page hero ────────────────────────────────────────── */
.page-hero {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(600px 280px at 90% -20%, rgba(13, 148, 136, 0.12), transparent 60%), linear-gradient(180deg, #ecfdf9 0%, var(--bg) 100%);
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 10px;
}
.breadcrumb a {
  color: var(--primary-700);
  text-decoration: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.page-hero p {
  max-width: 60ch;
  margin: 0;
  font-size: 1.05rem;
}

/* ── About page ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: start;
}
.about-grid h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.about-grid p {
  margin: 0 0 16px;
}
.about-grid .hero-card {
  justify-self: stretch;
  max-width: none;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list svg {
  color: var(--primary);
  flex: none;
  margin-top: 3px;
}
.check-list.two-col {
  grid-template-columns: repeat(2, 1fr);
}
.glance-list {
  font-size: 0.93rem;
  margin-bottom: 20px;
}
.facilities-list {
  margin-top: 8px;
}

/* ── Doctor profile page ────────────────────────────────────── */
.profile-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: start;
}
.profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  text-align: center;
  position: sticky;
  top: 100px;
}
.profile-card .doctor-photo {
  width: 132px;
  height: 132px;
  font-size: 2.3rem;
}
.profile-card h2 {
  margin: 0 0 2px;
  font-size: 1.25rem;
}
.profile-card .specialty {
  color: var(--primary-700);
  font-weight: 600;
  margin: 0 0 14px;
  font-size: 0.95rem;
}
.profile-card .btn {
  width: 100%;
}
.profile-card .btn + .btn {
  margin-top: 10px;
}

.profile-facts {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 12px;
  text-align: left;
  font-size: 0.93rem;
}
.profile-facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.profile-facts svg {
  color: var(--primary);
  flex: none;
  margin-top: 3px;
}

.profile-section + .profile-section {
  margin-top: 34px;
}
.profile-body h2 {
  font-size: 1.35rem;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.profile-body p {
  margin: 0 0 14px;
}

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-list li {
  background: var(--primary-50);
  color: var(--primary-900);
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 999px;
}

.notfound {
  text-align: center;
  padding: 70px 0 90px;
}
.notfound h1 {
  font-size: 2.2rem;
  margin: 0 0 10px;
}
.notfound p {
  margin: 0 0 24px;
}

/* ── Contact page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: start;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.contact-card .icon-badge {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}
.contact-card h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}
.contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  word-break: break-word;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-form h2 {
  margin: 0;
  font-size: 1.3rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.form-note {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 12px 0 0;
}

.map-block {
  margin-top: 30px;
}
.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
}
.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding: 60px 0 44px;
}
.footer-brand p {
  font-size: 0.93rem;
  margin: 14px 0 18px;
  color: #cbd5e1;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 4px 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-col ul a {
  font-size: 0.93rem;
  color: #cbd5e1;
}
.footer-col ul a:hover {
  color: #fff;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.93rem;
}
.footer-contact svg {
  color: var(--primary);
  flex: none;
  margin-top: 3px;
}
.footer-contact span,
.footer-contact a {
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
}
.footer-bottom p {
  margin: 0;
}

/* ── Floating WhatsApp bubble ───────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.07);
  color: #fff;
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  opacity: 0.45;
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 0 64px;
  }
  .hero-card {
    justify-self: stretch;
    max-width: 560px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .cards-grid,
  .doctor-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 18px 20px 22px;
  }
  body.nav-open .site-nav {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav ul a {
    padding: 12px 14px;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--primary-50);
    border-radius: 0;
    padding: 4px 0 4px 10px;
    margin: 2px 0 6px;
    min-width: 0;
  }
  .dropdown a {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    padding: 8px 10px;
  }
  .nav-cta {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 56px 0;
  }
  .hero-inner {
    padding: 44px 0 52px;
  }
  .cards-grid,
  .doctor-grid,
  .feature-grid,
  .contact-cards,
  .form-grid,
  .check-list.two-col {
    grid-template-columns: 1fr;
  }
  .form-field.full {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0 36px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .stat strong {
    font-size: 1.25rem;
  }
  .cta-band {
    padding: 40px 24px;
  }
}

@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;
  }
}
