/* Bloom Fertility — shared styles */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #555555;
  --teal: #2f6f6a;
  --teal-d: #245853;
  --rose: #e0707f;
  --rose-l: #fce8eb;
  --sage: #f0f8f7;
  --line: #e0e0e0;
  --nav-h: 74px;
  --r: 18px;
  --sh: 0 10px 30px rgba(47, 111, 106, .10);
  --fd: 'Fraunces', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img,
svg {
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none
}

h1,
h2,
h3,
h4 {
  font-family: var(--fd);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-d)
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem)
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem)
}

h3 {
  font-size: 1.25rem
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto
}

.section {
  padding: clamp(56px, 8vw, 96px) 0
}

.alt {
  background: var(--sage)
}


.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--rose);
  margin-bottom: 8px;
}

.cta .eyebrow {
  color: #ffd6dc;
}

.head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center
}

.head p {
  color: var(--muted);
  margin-top: 12px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  font: 700 1rem var(--fb);
  transition: .25s
}

.btn-primary {
  background: var(--teal);
  color: #fff
}

.btn-primary:hover {
  background: var(--teal-d);
  transform: translateY(-2px)
}

.btn-rose {
  background: var(--rose);
  color: #fff
}

.btn-ghost {
  border-color: var(--teal);
  color: var(--teal)
}

.btn-ghost:hover {
  background: var(--teal);
  color: #fff
}

.btn-outline {
  border-color: var(--teal);
  color: var(--teal);
  background: transparent;
}

.btn-outline:hover {
  background: var(--teal);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: #1a4d47;
  border-color: #ffffff;
  font-weight: 700;
}

.btn-light i {
  color: #1a4d47;
}

.btn-light:hover {
  background: #f0f8f7;
  color: #0f3632;
  border-color: #f0f8f7;
  transform: translateY(-2px);
}

.btn-light:hover i {
  color: #0f3632;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 12px;
  white-space: nowrap;
}

.btn-full {
  width: 100%;
  justify-content: center
}

.grid {
  display: grid;
  gap: 24px
}

.g2 {
  grid-template-columns: repeat(2, 1fr)
}

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

.g4 {
  grid-template-columns: repeat(4, 1fr)
}

.g5 {
  grid-template-columns: repeat(5, 1fr)
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--sh);
  transition: .3s
}

.card:hover {
  transform: translateY(-5px)
}

.ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--rose-l);
  color: var(--rose);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px
}

.card p {
  color: var(--muted);
  font-size: .96rem;
  margin-top: 8px
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center
}

.split p {
  color: var(--muted);
  margin: 14px 0
}

.ticks li {
  padding: 6px 0;
  display: flex;
  gap: 10px
}

.ticks i {
  color: var(--teal)
}

/* ── NAVBAR (fixed to top on ALL pages) ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1.5px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
  width: 100%;
}

body:not(.ad-body):not(.auth-body):not(.center-page) {
  padding-top: var(--nav-h);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: min(1200px, 94%);
  margin-inline: auto;
  gap: clamp(8px, 1.2vw, 18px);
  max-width: 100%;
  box-sizing: border-box;
}

/* Logo — identical across Navbar, Footer, and all pages */
.logo,
.navbar .logo,
.footer .logo {
  font: 600 clamp(1.25rem, 1.4vw, 1.5rem) var(--fd);
  color: var(--teal-d);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}

.logo span,
.navbar .logo span,
.footer .logo span {
  color: var(--rose);
}

.logo i,
.navbar .logo i,
.footer .logo i {
  color: var(--teal);
  font-size: 1.35rem;
  line-height: 1;
}

.logo:hover,
.logo:focus,
.navbar .logo:hover,
.navbar .logo:focus,
.footer .logo:hover,
.footer .logo:focus {
  color: var(--teal-d);
  text-decoration: none;
  opacity: 1;
}

.logo:hover span,
.logo:focus span,
.navbar .logo:hover span,
.navbar .logo:focus span,
.footer .logo:hover span,
.footer .logo:focus span {
  color: var(--rose);
}

.logo:hover i,
.logo:focus i,
.navbar .logo:hover i,
.navbar .logo:focus i,
.footer .logo:hover i,
.footer .logo:focus i {
  color: var(--teal);
}

/* Nav links — balanced desktop layout */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.5vw, 8px);
}

.nav-link {
  font-weight: 600;
  color: var(--ink);
  padding: 8px clamp(8px, 0.8vw, 13px);
  border-radius: 8px;
  font-size: clamp(0.96rem, 1.02vw, 1.04rem);
  letter-spacing: .01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all .2s ease;
}

.nav-link:hover {
  color: var(--teal);
  background: var(--sage);
}

.nav-link.active {
  color: var(--teal);
  background: var(--sage);
  font-weight: 700;
}

/* Hide mobile toggles on desktop by default */
.nav-mobile-toggles {
  display: none !important;
}

.nav-side-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--teal);
  font: 600 .86rem var(--fb);
  cursor: pointer;
  transition: all .2s ease;
}

.nav-side-toggle i {
  font-size: 1rem;
}

.nav-side-toggle:hover {
  background: var(--sage);
  border-color: var(--teal);
  color: var(--teal-d);
}

/* Nav actions area */
.nav-actions {
  display: flex;
  gap: clamp(6px, 0.8vw, 10px);
  align-items: center;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--teal);
  font-size: 1rem;
  display: grid;
  place-items: center;
  transition: all .2s ease;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--sage);
  border-color: var(--teal);
  color: var(--teal-d);
}

.nav-actions .btn-primary {
  height: 40px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 700;
  border-radius: 50px;
  background: var(--teal);
  color: #fff;
  white-space: nowrap;
}

.nav-actions .btn-primary:hover {
  background: var(--teal-d);
  transform: translateY(-1px);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.3rem;
  place-items: center;
  transition: .2s;
  flex-shrink: 0;
}

.mobile-only {
  display: none !important;
}

/* ── DROPDOWN ── */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.dropdown-toggle i {
  font-size: .75rem;
  transition: transform .22s ease;
  pointer-events: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
  padding: 8px;
  display: none;
  z-index: 200;
}

/* Invisible bridge so mouse never loses hover */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

@keyframes dropFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .92rem;
  transition: background .15s ease, color .15s ease;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.dropdown-item:hover {
  background: var(--sage);
  color: var(--teal);
}

.dropdown-item i {
  font-size: 1rem;
  color: var(--teal);
}

/* Desktop: display on hover AND when open class is present */
@media(min-width: 993px) {

  .dropdown:hover>.dropdown-menu,
  .dropdown.open>.dropdown-menu {
    display: block;
    animation: dropFade .18s ease;
  }

  .dropdown:hover>.dropdown-toggle i,
  .dropdown.open>.dropdown-toggle i {
    transform: rotate(180deg);
  }
}

/* Base class for click state */
.dropdown.open>.dropdown-menu {
  display: block;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

/* ── HERO ── */
.hero {
  padding: clamp(48px, 7vw, 90px) 0;
  background: radial-gradient(circle at 85% 20%, var(--rose-l), transparent 45%), radial-gradient(circle at 5% 90%, var(--sage), transparent 45%)
}

.hero .split p {
  font-size: 1.1rem
}

.hero-art {
  background: var(--surface);
  border-radius: 50% 50% 24px 24px/40% 40% 24px 24px;
  padding: 34px;
  box-shadow: var(--sh);
  position: relative
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px
}

.banner {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--sage), var(--rose-l));
  border-bottom: 2px solid var(--line)
}

.banner .container {
  width: min(1160px, 92%);
}

.banner p {
  color: var(--muted);
  max-width: 620px;
  margin: 12px auto 0
}

.banner .banner-lead {
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.7
}

.banner .btn-row {
  justify-content: center
}

/* ── ABOUT PAGE HERO BANNER (With Background Image & Dual-Tone Gradient) ── */
.about-banner {
  position: relative;
  min-height: 440px;
  padding: clamp(70px, 10vw, 120px) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(12, 38, 35, 0.86) 0%, rgba(20, 56, 52, 0.78) 50%, rgba(48, 18, 28, 0.85) 100%),
    url('../images/about-hero.jpg') center center / cover no-repeat;
  color: #ffffff;
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}

.about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(10, 28, 25, 0.20) 0%, rgba(8, 24, 21, 0.55) 100%);
  pointer-events: none;
}

.about-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-banner .eyebrow {
  color: #ffd6dc;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
  display: inline-block;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}

.about-banner h1 {
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.2;
}

.about-banner .banner-lead {
  color: #ffffff;
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.15rem;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  font-weight: 500;
}

.about-banner .btn-row {
  justify-content: center;
  margin-top: 28px;
}

.about-banner .btn-ghost {
  color: #ffffff;
  border-color: #ffffff;
}

.about-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}


.story-points {
  margin-top: 18px;
  display: grid;
  gap: 10px
}

.story-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 500
}

.story-points li i {
  color: var(--teal);
  margin-top: 4px
}

/* stats & bars */
.stat {
  text-align: center;
}

.stat b {
  font: 600 clamp(2.1rem, 3.8vw, 3rem) var(--fd);
  color: var(--rose);
  display: block;
  line-height: 1.15;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  display: block;
}

.bar {
  margin: 16px 0
}

.bar div {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 6px
}

.bar i {
  display: block;
  height: 12px;
  border-radius: 12px;
  background: var(--line);
  overflow: hidden
}

.bar i b {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--rose));
  border-radius: 12px;
  transition: width 1.4s
}

/* ── STEPS (Your Journey & Timeline) ── */
.steps {
  counter-reset: s;
  margin-top: 50px;
  align-items: stretch;
  position: relative;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 20px 28px;
  height: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 16px 36px rgba(47, 111, 106, .16);
}

.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(47, 111, 106, .28);
  border: 3.5px solid var(--surface);
  z-index: 2;
  transition: transform .3s ease, background .3s ease;
}

.step:hover::before {
  transform: translateX(-50%) scale(1.08);
  background: var(--teal-d);
}

.step h3 {
  font-size: 1.15rem;
  color: var(--teal-d);
  margin-bottom: 10px;
  line-height: 1.3;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.step p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.58;
  margin: 0;
  text-align: center;
}

/* ── FAQ (Questions Section) ── */
.faq {
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq details {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 0;
  transition: all .25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
  position: relative;
  overflow: hidden;
}

.faq details:hover {
  border-color: rgba(47, 111, 106, .45);
}

.faq details[open] {
  border-color: var(--teal);
  box-shadow: 0 10px 28px rgba(47, 111, 106, .10);
  background: var(--surface);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--teal-d);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  user-select: none;
  transition: color .2s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details:hover summary {
  color: var(--teal);
}

.faq summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .25s ease;
  box-shadow: 0 2px 6px rgba(47, 111, 106, .08);
}

.faq details:hover summary::after {
  background: var(--teal);
  color: #ffffff;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--rose-l);
  color: var(--rose);
  transform: rotate(180deg);
}

.faq details[open]:hover summary::after {
  background: var(--rose);
  color: #ffffff;
}

.faq p {
  color: var(--muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .98rem;
  line-height: 1.7;
  animation: faqFade .25s ease;
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tbl {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface)
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px
}

th,
td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line)
}

th {
  background: var(--sage);
  color: var(--teal-d)
}

.quote {
  font-family: var(--fd);
  font-size: 1.05rem
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 700;
  font-size: .9rem
}

.who img {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose);
  background: var(--rose-l)
}

.stars {
  color: var(--rose)
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--rose));
  color: #fff;
  display: grid;
  place-items: center;
  font: 600 1.7rem var(--fd);
  margin-bottom: 14px
}

.tag {
  display: inline-block;
  background: var(--sage);
  color: var(--teal-d);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  margin: 4px 4px 0 0
}

.filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: 600 .92rem var(--fb);
  transition: all 0.25s ease;
}

.chip i {
  color: var(--teal);
  font-size: 1rem;
  transition: color 0.25s ease;
}

.chip:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.chip:hover i {
  color: var(--teal);
}

.chip.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(47, 111, 106, 0.25);
}

.chip.active i {
  color: #ffffff;
}

.price {
  font: 600 2.2rem var(--fd);
  color: var(--rose)
}

.featured {
  border: 2px solid var(--rose)
}

/* forms */
.form {
  display: grid;
  gap: 14px
}

.form input,
.form select,
.form textarea,
.auth-input {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: 0.94rem var(--fb);
  box-sizing: border-box;
}

.form select {
  padding: 12px 38px 12px 14px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="%235db3aa" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 13px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.form select option {
  background: var(--surface);
  color: var(--ink);
  padding: 8px 10px;
  font-size: 0.9rem;
}

.form input:focus,
.form select:focus,
.auth-input:focus {
  outline: 2px solid var(--teal)
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  border-radius: 6px;
  padding: 4px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="%235db3aa" class="bi bi-calendar3" viewBox="0 0 16 16"><path d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/><path d="M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  transform: scale(1.1);
}

.cta {
  background: var(--teal);
  color: #fff;
  border-radius: 28px;
  padding: 44px
}

.cta h2,
.cta p {
  color: #fff
}

.note {
  color: var(--teal);
  font-weight: 700;
  display: none
}

/* ── FOOTER (Modern, Elegant, Full-Width with Accents) ── */
.footer {
  background: #ffffff;
  color: #4b5563;
  padding: 70px 0 28px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--rose) 50%, var(--teal-d) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(24px, 3.5vw, 44px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-desc {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 14px 0 18px;
  max-width: 340px;
}

/* Social Media Icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-btn:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(47, 111, 106, 0.28);
}

.social-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* Accreditation pill in footer brand */
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--sage);
  border: 1px solid rgba(47, 111, 106, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-d);
  width: fit-content;
}

.footer-badge i {
  color: var(--teal);
  font-size: 0.95rem;
}

/* Column Headings */
.footer-col h4 {
  color: var(--teal-d);
  font-family: var(--fd);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--rose);
  border-radius: 2px;
}

/* Links lists with micro-hover chevron effects */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b5563;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.22s ease;
}

.footer-links a i {
  font-size: 0.72rem;
  color: var(--rose);
  transition: transform 0.22s ease;
}

.footer-links a:hover {
  color: var(--teal);
  transform: translateX(4px);
}

.footer-links a:hover i {
  transform: translateX(2px);
  color: var(--teal);
}

/* Contact List in Footer */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--sage);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.98rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.22s ease;
  border: 1px solid rgba(47, 111, 106, 0.12);
}

.footer-contact-list li:hover .footer-contact-icon {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  transform: scale(1.05);
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-contact-text strong {
  font-weight: 700;
  color: var(--teal-d);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.footer-contact-text span,
.footer-contact-text a {
  color: #4b5563;
  transition: color 0.2s ease;
}

.footer-contact-text a:hover {
  color: var(--teal);
}

/* Footer Bottom Strip */
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .copyright {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.84rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--teal);
}

.footer-legal-links .sep {
  color: var(--line);
  font-size: 0.8rem;
}


/* auth */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  background: linear-gradient(135deg, var(--sage), var(--rose-l));
  position: relative;
}

.auth-floating-actions {
  position: fixed;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
}

.auth-card {
  display: grid;
  grid-template-columns: 1.02fr 1.15fr;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(47, 111, 106, 0.12);
  border: 1.5px solid var(--line);
  width: min(920px, 100%);
  margin: auto;
}

.auth-side {
  background: var(--sage);
  color: var(--ink);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1.5px solid var(--line);
}

[dir="rtl"] .auth-side {
  border-right: none;
  border-left: 1.5px solid var(--line);
}

.auth-side-header {
  margin-bottom: 16px;
}

.auth-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(47, 111, 106, 0.12);
  color: var(--teal-d);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.auth-side-badge i {
  font-size: 0.85rem;
  color: var(--teal);
}

.auth-side h2 {
  font-size: 1.28rem;
  color: var(--teal-d);
  margin-bottom: 8px;
  line-height: 1.35;
}

.auth-side-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.auth-image-wrap {
  width: 100%;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--line);
}

.auth-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auth-side .ticks {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-side .ticks li {
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.4;
}

.auth-side .ticks i {
  color: var(--teal);
  font-size: 1rem;
}

.auth-main {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
}

.auth-main-header {
  margin-bottom: 12px;
  text-align: center;
}

.auth-main-header .logo {
  margin-bottom: 10px;
}

.auth-main h1 {
  font-size: 1.6rem;
  color: var(--teal-d);
  margin-bottom: 4px;
  line-height: 1.2;
}

.auth-subtitle {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 14px;
}

/* Fields */
.auth-field {
  margin-bottom: 12px;
}

.auth-field > label:not(.auth-remember-label) {
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font: 0.92rem var(--fb);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-input-wrap:has(.auth-eye-btn) .auth-input {
  padding-right: 42px;
}

.auth-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 111, 106, 0.15);
}

.auth-eye-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s ease;
}

.auth-eye-btn:hover {
  color: var(--teal);
}

[dir="rtl"] .auth-eye-btn {
  right: auto;
  left: 12px;
}

[dir="rtl"] .auth-input-wrap:has(.auth-eye-btn) .auth-input {
  padding-right: 14px;
  padding-left: 42px;
}

.auth-error {
  color: #c0392b;
  font-size: 0.78rem;
  margin-top: 3px;
  line-height: 1.2;
}

.auth-error:empty {
  display: none;
}

.auth-input.bad {
  border-color: #c0392b;
}

/* Remember me & forgot password */
.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 0.84rem;
}

.auth-remember-label,
.auth-field .auth-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink);
  user-select: none;
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.auth-checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
  vertical-align: middle;
}

.auth-forgot-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-forgot-link:hover {
  color: var(--teal-d);
  text-decoration: underline;
}

.auth-main .btn-full {
  padding: 10px 18px;
  font-size: 0.92rem;
  border-radius: 9px;
}

/* Divider (after Sign In button) */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 14px 0 12px;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 1;
}

.auth-divider span {
  position: relative;
  z-index: 2;
  background: var(--surface);
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Social Buttons (after Sign In button) */
.auth-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.auth-social-btn:hover {
  border-color: var(--teal);
  background: var(--sage);
  color: var(--teal-d);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 111, 106, 0.1);
}

.auth-social-btn i {
  font-size: 1rem;
}

.auth-social-btn i.bi-google {
  color: #ea4335;
}

.auth-social-btn i.bi-apple {
  color: #111111;
}

.auth-social-btn i.bi-facebook {
  color: #1877f2;
}

/* Switch prompt */
.auth-switch-prompt {
  margin-top: 10px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

.auth-switch-link {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-switch-link:hover {
  color: var(--teal-d);
  text-decoration: underline;
}

.auth-demo-hint {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.auth-back-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  align-self: center;
}

.auth-back-link:hover {
  color: var(--teal-d);
  gap: 8px;
}

@media (max-width: 1024px) {
  .auth-body {
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 14px 32px;
  }

  .auth-floating-actions {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: min(520px, 100%);
    justify-content: flex-end;
    margin: 0 auto 12px auto;
    padding: 0 4px;
    z-index: 10;
  }

  [dir="rtl"] .auth-floating-actions {
    justify-content: flex-start;
  }

  .auth-card {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }

  .auth-side {
    display: none;
  }

  .auth-main {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .auth-body {
    padding: 14px 10px 24px;
  }

  .auth-floating-actions {
    margin-bottom: 10px;
    padding: 0 2px;
  }

  .auth-main {
    padding: 22px 16px;
  }
}

/* ── DASHBOARD ── */
.ad-body {
  background: var(--bg)
}

.ad-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh
}

.ad-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 24px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto
}

.ad-sidebar a.nl {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 4px;
  transition: background .2s, color .2s;
  color: var(--ink)
}

.ad-sidebar a.nl:hover {
  background: var(--sage);
  color: var(--teal)
}

.ad-main {
  padding: 28px clamp(16px, 3vw, 40px);
  min-width: 0
}

.ad-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px
}

.ad-sec {
  margin-bottom: 32px;
  scroll-margin-top: 20px
}

.ad-sec>h3 {
  margin-bottom: 14px
}

.stage-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 10px 0
}

.stage {
  flex: 1;
  min-width: 120px;
  text-align: center;
  position: relative
}

.stage::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 100%;
  height: 4px;
  background: var(--line)
}

.stage:last-child::after {
  display: none
}

.stage .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--line);
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  font-weight: 700;
  color: var(--muted)
}

.stage.done .dot {
  background: var(--teal);
  color: #fff
}

.stage.done::after {
  background: var(--teal)
}

.stage.now .dot {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 0 0 6px var(--rose-l)
}

.stage small {
  color: var(--muted);
  display: block
}

.task {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line)
}

.task input:checked+span {
  text-decoration: line-through;
  color: var(--muted)
}

.pill {
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700
}

.paid {
  background: var(--sage);
  color: var(--teal-d)
}

.due {
  background: var(--rose-l);
  color: var(--rose)
}

.msg {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line)
}

.msg .avatar {
  width: 44px;
  height: 44px;
  font-size: 1rem;
  margin: 0
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 170px;
  padding-top: 10px
}

.chart div {
  flex: 1;
  background: linear-gradient(var(--rose), var(--teal));
  border-radius: 10px 10px 0 0;
  position: relative;
  min-height: 6px
}

.chart span {
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .78rem;
  color: var(--muted)
}

.ad-burger {
  display: none
}

/* ── RESPONSIVE NAVBAR (≤ 1024px — burger menu) ── */
@media(max-width:1024px) {
  .burger {
    display: grid
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 5% 24px;
    gap: 0;
    border-bottom: 1.5px solid var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .22s ease, visibility .28s;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-radius: 0;
    background: transparent;
  }

  .nav-link.active {
    background: transparent;
    color: var(--teal);
    font-weight: 700;
  }

  .nav-link:hover {
    background: transparent;
    color: var(--teal);
  }

  .nav-actions .btn-primary,
  .nav-actions .desk-only,
  .nav-actions .icon-btn:not(.burger),
  .desk-only {
    display: none !important;
  }

  .nav-mobile-toggles {
    display: flex !important;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .nav-side-toggle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--surface);
    color: var(--teal);
    font: 600 .86rem var(--fb);
    cursor: pointer;
    transition: all .2s ease;
  }

  .nav-side-toggle i {
    font-size: 1rem;
  }

  .nav-side-toggle:hover {
    background: var(--sage);
    border-color: var(--teal);
    color: var(--teal-d);
  }

  .mobile-only {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--teal);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(47, 111, 106, 0.25);
    text-align: center;
    transition: all 0.2s ease;
  }

  .mobile-only:hover {
    background: var(--teal-d);
    color: #ffffff;
  }

  /* Dropdown inline on mobile */
  .dropdown {
    width: 100%;
    display: block
  }

  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%
  }

  .dropdown-toggle i {
    transition: transform .2s ease
  }

  .dropdown.open>.dropdown-toggle i {
    transform: rotate(180deg)
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 10px;
    background: var(--sage);
    padding: 6px 8px;
    margin: 6px 0 10px;
    animation: none;
    width: 100%
  }

  .dropdown-menu::before {
    display: none
  }

  .dropdown:hover>.dropdown-menu {
    display: none
  }

  .dropdown.open>.dropdown-menu {
    display: block
  }

  .dropdown-item {
    padding: 9px 12px;
    font-size: .93rem
  }
}

@media(max-width:480px) {

  .logo,
  .navbar .logo,
  .footer .logo {
    font-size: 1.3rem;
  }

  .stat b {
    font-size: 1.55rem !important;
  }

  .stat span {
    font-size: 0.8rem !important;
  }

  .nav-actions {
    gap: 6px
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    font-size: .95rem
  }

  .burger {
    width: 38px;
    height: 38px;
    font-size: 1.15rem
  }
}

@media(max-width:360px) {

  .logo,
  .navbar .logo,
  .footer .logo {
    font-size: 1.15rem;
  }

  .nav-actions {
    gap: 4px
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: .9rem
  }

  .burger {
    width: 34px;
    height: 34px;
    font-size: 1.05rem
  }
}

/* ── RESPONSIVE GRID (≤ 1024px) ── */
@media(max-width:1024px) {

  .g3,
  .g4,
  .g5 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .stat b {
    font-size: 2.2rem;
  }

  .stat span {
    font-size: 0.9rem;
  }

  .g5>.card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px)
  }

  .steps {
    gap: 48px 24px;
    margin-top: 48px;
  }

  .steps>.card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 480px;
    width: 100%;
  }

  .split,
  .auth-card {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .auth-side {
    display: none
  }

  .gallery {
    grid-template-columns: 1fr 1fr
  }

  .gallery img:first-child {
    grid-row: auto
  }

  .ad-shell {
    grid-template-columns: minmax(0, 1fr)
  }

  .ad-sidebar {
    position: fixed;
    z-index: 150;
    width: 260px;
    transform: translateX(-100%);
    transition: .3s;
    top: 0;
    height: 100vh
  }

  .ad-sidebar.open {
    transform: none
  }

  .ad-burger {
    display: grid
  }
}

@media(max-width:600px) {

  .g2,
  .g3,
  .g4,
  .g5,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .stat b {
    font-size: 1.75rem !important;
    line-height: 1.15;
    margin-bottom: 2px;
  }

  .stat span {
    font-size: 0.84rem !important;
    max-width: 240px;
    margin: 0 auto;
    display: block;
    line-height: 1.35;
  }

  .form {
    gap: 10px;
  }

  .form input,
  .form select,
  .form textarea {
    padding: 10px 12px;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .form select {
    padding-right: 32px;
    background-position: right 10px center;
    background-size: 11px;
  }

  .form select option {
    font-size: 0.82rem;
    padding: 6px 8px;
  }

  .g5>.card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto
  }

  .b1,
  .b2 {
    display: none
  }

  .cta {
    padding: 28px
  }

  .quick,
  .gallery {
    grid-template-columns: 1fr
  }

  .steps {
    gap: 44px;
    margin-top: 40px;
  }

  .steps>.card:last-child:nth-child(odd) {
    max-width: 100%;
  }

  .faq details {
    padding: 16px 18px;
    border-radius: 14px;
  }

  .faq summary {
    font-size: 1rem;
    gap: 12px;
  }

  .faq summary::after {
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
  }
}

/* ── MISC EXTRA STYLES ── */
.nav-item {
  position: relative
}

.dmenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh);
  padding: 8px;
  display: none;
  z-index: 200
}

.dmenu a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600
}

.dmenu a:hover {
  background: var(--sage);
  color: var(--teal)
}

@media(min-width:993px) {
  .nav-item:hover .dmenu {
    display: block
  }
}

.nav-item.open .dmenu {
  display: block
}

@media(max-width:1120px) {
  .dmenu {
    position: static;
    box-shadow: none;
    margin-top: 8px;
    width: 100%
  }
}

[dir="rtl"] .dmenu {
  left: auto;
  right: 0
}

.cd {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 560px;
  margin: 30px auto
}

.cd .card {
  padding: 18px
}

.cd b {
  display: block;
  font: 600 2.2rem var(--fd);
  color: var(--rose)
}

.mapbox {
  background: var(--sage);
  border-radius: var(--r);
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 3rem;
  border: 1px solid var(--line)
}

.big {
  font: 700 clamp(5rem, 16vw, 10rem) var(--fd);
  color: var(--rose);
  line-height: 1
}

.timeline {
  border-left: 3px solid var(--rose);
  padding-left: 26px;
  max-width: 720px;
  margin: auto
}

.timeline div {
  margin-bottom: 26px;
  position: relative
}

.timeline div::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal)
}

.timeline b {
  color: var(--rose)
}

.ad-kpi b {
  font: 600 1.7rem var(--fd)
}

@media(max-width:600px) {
  .cd {
    grid-template-columns: repeat(2, 1fr)
  }
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px
}

.hero-art .hero-img {
  border-radius: 40% 40% 20px 20px/30% 30% 20px 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
  max-height: 460px;
}

.thumb {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  display: block;
  background: var(--sage)
}

.thumb.wide {
  height: 260px;
  margin-bottom: 24px
}

.portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  background: var(--sage);
  border: 4px solid var(--rose-l)
}

.strip {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font: 600 1.2rem var(--fd)
}

.strip i {
  color: var(--teal);
  margin-right: 6px
}

.tl {
  position: relative;
  max-width: 760px;
  margin: auto;
  padding-left: 34px;
  border-left: 3px solid var(--rose-l)
}

.tl div {
  position: relative;
  margin-bottom: 26px
}

.tl div::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rose)
}

.tl b {
  color: var(--teal);
  font-family: var(--fd);
  font-size: 1.2rem
}

.tl p {
  color: var(--muted)
}

.big-quote {
  font: 500 clamp(1.3rem, 2.6vw, 1.9rem) var(--fd);
  color: var(--teal-d);
  text-align: center;
  max-width: 820px;
  margin: auto
}

.sidebar-note {
  margin-top: 30px;
  padding: 16px;
  border-radius: 14px;
  background: var(--sage);
  font-size: .9rem
}

.alert {
  background: var(--rose);
  color: #fff;
  border-radius: 18px;
  padding: 22px 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap
}

.alert h3 {
  color: #fff
}

/* Center Pages (404 & Coming Soon) */
.center-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 64px) 16px;
  background: radial-gradient(circle at 80% 20%, rgba(224, 112, 127, 0.12), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(47, 111, 106, 0.12), transparent 50%),
              linear-gradient(135deg, var(--sage), var(--rose-l));
  position: relative;
  box-sizing: border-box;
}

.center-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 42px);
  box-shadow: 0 16px 44px rgba(47, 111, 106, 0.1);
  max-width: 620px;
  width: 100%;
  text-align: center;
  margin: auto;
  box-sizing: border-box;
  position: relative;
}

.center-img {
  width: min(260px, 75%);
  max-height: 180px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
  object-fit: contain;
}

.center-card h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--teal-d);
  margin: 10px 0 12px;
  line-height: 1.25;
}

.center-text {
  color: var(--muted);
  font-size: clamp(0.88rem, 2vw, 0.96rem);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 24px;
}

.center-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.center-actions .btn {
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.center-quick-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.center-quick-links a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.center-quick-links a:hover {
  color: var(--rose);
}

/* Coming Soon Countdown */
.count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 24px;
  width: 100%;
}

.count div {
  background: var(--sage);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(47, 111, 106, 0.06);
}

.count b {
  display: block;
  font: 700 clamp(1.4rem, 4vw, 2rem) var(--fd);
  color: var(--rose);
  line-height: 1.1;
  margin-bottom: 2px;
}

.count span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

/* Coming Soon Form */
.coming-soon-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto 20px;
  width: 100%;
}

.coming-soon-input-wrap {
  position: relative;
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  min-width: 180px;
}

.coming-soon-input-wrap i {
  position: absolute;
  left: 16px;
  color: var(--teal);
  font-size: 1rem;
  pointer-events: none;
}

.coming-soon-input-wrap input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background-color: var(--bg);
  color: var(--ink);
  font-size: 0.9rem;
  font-family: var(--fb);
  font-weight: 400;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.coming-soon-input-wrap input:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 111, 106, 0.15);
}

.coming-soon-form .btn {
  border-radius: 14px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
}

.coming-soon-form .note {
  width: 100%;
  margin-top: 10px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.coming-soon-back {
  margin-top: 6px;
}

.coming-soon-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.coming-soon-back a:hover {
  color: var(--teal-d);
  gap: 10px;
}

@media (max-width: 480px) {
  .center-card {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .count {
    gap: 6px;
  }

  .count div {
    padding: 10px 4px;
    border-radius: 12px;
  }

  .coming-soon-input-wrap {
    width: 100%;
    flex: 1 1 100%;
  }

  .coming-soon-form .btn {
    width: 100%;
    flex: 1 1 100%;
    justify-content: center;
  }

  .center-actions .btn {
    width: 100%;
    flex: 1 1 100%;
  }
}

.result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--sage);
  font-weight: 700;
  color: var(--teal-d);
  display: none
}

.kpi small {
  color: var(--muted)
}

.up {
  color: var(--teal);
  font-weight: 700
}

.mini {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px
}

.mini div {
  flex: 1;
  background: linear-gradient(var(--teal), var(--rose));
  border-radius: 8px 8px 0 0;
  position: relative
}

.mini span {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .75rem;
  color: var(--muted)
}

/* ── HOME HERO BANNER (Photo Hero with Gradient) ── */
.hero2 {
  position: relative;
  background:
    linear-gradient(135deg, rgba(16, 52, 47, 0.68) 0%, rgba(32, 80, 75, 0.48) 45%, rgba(68, 26, 38, 0.62) 100%),
    url('../images/hero-2.jpg') center center / cover no-repeat;
  color: #ffffff;
  padding: clamp(90px, 12vw, 150px) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, transparent 25%, rgba(10, 32, 29, 0.35) 100%);
  pointer-events: none;
}

.hero2 .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.hero2 .eyebrow {
  color: #ffd6dc;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}

.hero2 h1 {
  color: #ffffff;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  line-height: 1.2;
}

.hero2 p {
  color: rgba(255, 255, 255, .92);
  max-width: 660px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}

.hero2 .btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 30px auto 0;
  flex-wrap: wrap;
}

.hero2 .btn-ghost {
  color: #ffffff;
  border-color: #ffffff;
}

.hero2 .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--surface);
  padding: 16px;
  border-radius: 22px;
  margin: 38px auto 0;
  max-width: 820px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
  border: 1px solid rgba(255, 255, 255, .2);
}

.quick select,
.quick input {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: 1rem var(--fb);
  width: 100%
}

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

@media(max-width:600px) {
  .quick {
    grid-template-columns: 1fr
  }
}

/* ── HOME 2 ENHANCED SECTIONS & FACILITIES GALLERY ── */
.hero-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px auto 0;
  max-width: 900px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 30px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-trust-item i {
  color: #ffd6dc;
  font-size: 1rem;
}

/* Treatments Enhancement */
.treatment-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: var(--surface);
  border: 1.5px solid var(--line);
}

.treatment-card:hover {
  transform: translateY(-8px);
  border-color: var(--teal);
  box-shadow: 0 18px 40px rgba(47, 111, 106, 0.16);
}

.treatment-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  width: 100%;
}

.treatment-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.treatment-card:hover .treatment-card-img img {
  transform: scale(1.08);
}

.treatment-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--teal-d);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.03em;
}

.treatment-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.treatment-features {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.treatment-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
}

.treatment-features li i {
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
}

.treatment-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.treatment-card-footer .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal);
  transition: gap 0.2s ease, color 0.2s ease;
}

.treatment-card:hover .treatment-card-footer .learn-more {
  gap: 10px;
  color: var(--teal-d);
}

/* Calculator Visual Enhancement */
.calc-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.calc-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.calc-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sage);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.calc-benefit-text b {
  display: block;
  font-size: 0.96rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.calc-benefit-text span {
  font-size: 0.85rem;
  color: var(--muted);
}

.cycle-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
}

.cycle-chip-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s ease;
}

.cycle-chip-btn:hover,
.cycle-chip-btn.active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

/* Doctor Cards Enhancement */
.doc-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 22px 24px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(47, 111, 106, 0.14);
  border-color: var(--teal);
}

.doc-avatar-wrap {
  position: relative;
  margin-bottom: 16px;
}

.doc-exp-badge {
  position: absolute;
  bottom: 0px;
  right: -4px;
  background: var(--rose);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 2px solid var(--surface);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.doc-card h3 {
  font-size: 1.24rem;
  margin-bottom: 4px;
}

.doc-title {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.doc-degree {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.doc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.doc-tag {
  background: var(--sage);
  color: var(--teal-d);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.doc-cta {
  margin-top: auto;
  width: 100%;
}

/* ── FACILITIES GALLERY (Bento Grid) ── */
.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, 230px);
  gap: 20px;
  margin-top: 10px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border: 1.5px solid var(--line);
  background: var(--surface);
  display: block;
  text-decoration: none;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img,
.gallery>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover img,
.gallery>img:hover {
  transform: scale(1.06);
}

/* Enhanced Finance Cards */
.finance-card {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1.5px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.finance-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(47, 111, 106, 0.14);
  border-color: var(--teal);
}

.finance-ico {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--sage);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.finance-card:hover .finance-ico {
  background: var(--teal);
  color: #ffffff;
}

.finance-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.finance-badge {
  display: inline-block;
  background: var(--rose-l);
  color: var(--rose);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.finance-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.finance-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
}

.finance-bullets li i {
  color: var(--teal);
  font-size: 0.95rem;
}


@media(max-width: 1024px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }

  .gallery-item:first-child,
  .gallery>img:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    height: 300px;
  }

  .gallery-item,
  .gallery>img {
    height: 220px;
  }

  .facility-highlights {
    border-radius: 20px;
    gap: 16px;
  }
}

@media(max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-item:first-child,
  .gallery>img:first-child {
    grid-column: auto;
    height: 250px;
  }

  .gallery-item,
  .gallery>img {
    height: 210px;
  }

  .hero-trust-bar {
    gap: 8px;
  }

  .hero-trust-item {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
}

/* ── COMPONENT & UTILITY CLASSES (Replacing all inline styles) ── */
.treatment-badge i {
  color: var(--teal);
}

.treatment-badge.featured i {
  color: var(--rose);
}

.treatment-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.treatment-duration {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.calc-card {
  padding: 32px;
}

.calc-label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.calc-label i {
  color: var(--teal);
  font-size: 1.15rem;
  margin-right: 4px;
}

.calc-label.mt {
  margin-top: 8px;
}

.calc-btn {
  margin-top: 12px;
}

.more-link-row {
  text-align: center;
  margin-top: 32px;
}

.finance-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cta-box {
  text-align: center;
  padding: 50px 30px;
}

.cta-desc {
  margin: 12px auto 24px;
  font-size: 1.05rem;
  max-width: 600px;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 0 auto;
}

.cta-input {
  padding: 14px 20px;
  border-radius: 30px;
  border: 0;
  flex: 1;
  min-width: 260px;
  background: #ffffff;
  color: var(--ink);
}

.cta-btn {
  padding: 14px 28px;
}

.cta-note {
  width: 100%;
  color: #ffffff;
  margin-top: 10px;
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  font-size: 0.84rem;
  opacity: 0.9;
  flex-wrap: wrap;
}

.footer-desc {
  margin-top: 12px;
}

.book-eyebrow {
  color: #fbe3e3;
}

.book-card {
  color: var(--ink);
}

/* ── TESTIMONIALS SECTION (Home Page) ── */
.testimonial-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(47, 111, 106, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 22px;
  font-family: var(--fd);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.12;
  pointer-events: none;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(47, 111, 106, 0.13);
  border-color: rgba(47, 111, 106, 0.35);
}

.testimonial-card:hover::before {
  opacity: 0.22;
  transform: translateY(-2px) scale(1.06);
}

.test-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.test-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 2px;
}

.test-stars i {
  color: #f59e0b;
}

.test-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sage);
  color: var(--teal-d);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.test-badge i {
  color: var(--teal);
}

.test-quote {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--ink);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.test-author-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--surface);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.test-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.test-author-info b {
  font-size: 0.96rem;
  color: var(--teal-d);
  font-family: var(--fb);
  font-weight: 700;
}

.test-author-info span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.journey-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--rose-l);
  color: var(--rose);
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
}

.testimonial-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 16px 28px;
  margin-top: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
  gap: 16px;
}

.test-sum-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.test-sum-score {
  font-family: var(--fd);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal-d);
  line-height: 1;
}

.test-sum-stars {
  color: #f59e0b;
  display: flex;
  gap: 3px;
  font-size: 1.05rem;
}

.test-sum-count {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.test-sum-tags {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.test-sum-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal-d);
  background: var(--sage);
  padding: 6px 14px;
  border-radius: 50px;
}

.test-sum-tags span i {
  color: var(--teal);
}

.test-sum-tags span .bi-heart-fill {
  color: var(--rose);
}

@media(max-width: 768px) {
  .testimonial-summary-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
  }

  .test-sum-tags {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── ALTERNATING TIMELINE (About Page) ── */
.timeline-alt {
  position: relative;
  max-width: 920px;
  margin: 48px auto 0;
  padding: 20px 0;
}

.timeline-alt::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--rose) 50%, var(--teal-d) 100%);
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 16px 44px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 50px;
  padding-left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 50px;
  padding-right: 0;
}

.timeline-node {
  position: absolute;
  top: 32px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 111, 106, 0.20), 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:nth-child(odd) .timeline-node {
  right: -12px;
  left: auto;
}

.timeline-item:nth-child(even) .timeline-node {
  left: -12px;
  right: auto;
}

.timeline-item:hover .timeline-node {
  border-color: var(--rose);
  box-shadow: 0 0 0 6px rgba(224, 112, 127, 0.30), 0 4px 14px rgba(0, 0, 0, 0.12);
  transform: scale(1.15);
}

.timeline-content {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: inline-block;
  width: 100%;
  text-align: left;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(47, 111, 106, 0.12);
  border-color: rgba(47, 111, 106, 0.35);
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fd);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-d);
  background: var(--sage);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(47, 111, 106, 0.15);
}

.timeline-content h4 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 8px;
  font-family: var(--fd);
}

.timeline-content p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}

@media(max-width: 768px) {
  .timeline-alt::before {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    text-align: left !important;
    padding: 12px 0 12px 52px !important;
  }

  .timeline-item:nth-child(odd) .timeline-node,
  .timeline-item:nth-child(even) .timeline-node {
    left: 8px !important;
    right: auto !important;
  }

  .timeline-content {
    max-width: 100%;
  }
}

/* ── TEAM SECTION (About Page) ── */
.team-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(47, 111, 106, 0.14);
  border-color: rgba(47, 111, 106, 0.35);
}

.team-card-img {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--sage);
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-img img {
  transform: scale(1.06);
}

.team-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--teal-d);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(47, 111, 106, 0.20);
}

.team-card-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card-body h3 {
  font-size: 1.25rem;
  color: var(--teal-d);
  margin-bottom: 4px;
}

.team-role {
  color: var(--rose);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.team-creds {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.team-bio {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.team-tags span {
  background: var(--sage);
  color: var(--teal-d);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.team-footer-cta {
  text-align: center;
  margin-top: 48px;
  padding: 28px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.team-footer-cta p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 18px;
  max-width: 680px;
  margin-inline: auto;
}

.team-footer-cta .btn-row {
  justify-content: center;
  margin-top: 0;
}

/* ── ABOUT PAGE UTILITIES ── */
.founder-quote-author {
  text-align: center;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 700;
}

.center-card {
  text-align: center;
}

.center-ico {
  margin: 0 auto 14px;
}

/* ── TREATMENTS PAGE STYLES ── */
.treatments-banner {
  position: relative;
  min-height: 480px;
  padding: clamp(75px, 10vw, 125px) 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(12, 38, 35, 0.88) 0%, rgba(20, 56, 52, 0.78) 50%, rgba(48, 18, 28, 0.84) 100%),
    url('../images/treatment-hero.jpg') center center / cover no-repeat;
  color: #ffffff;
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}

.treatments-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(10, 28, 25, 0.20) 0%, rgba(8, 24, 21, 0.55) 100%);
  pointer-events: none;
}

.treatments-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.treatments-banner .eyebrow {
  color: #ffd6dc;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
  display: inline-block;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}

.treatments-banner h1 {
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.2;
}

.treatments-banner .banner-lead {
  color: #ffffff;
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.15rem;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.treatments-banner .btn-row {
  justify-content: center;
  margin: 28px 0 34px;
  gap: 16px;
}

/* Treatment Media Showcase Cards */
.treatment-media-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(47, 111, 106, 0.14);
  border: 1.5px solid var(--line);
}

.treatment-showcase-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.treatment-media-card:hover .treatment-showcase-img {
  transform: scale(1.04);
}

.treatment-float-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(47, 111, 106, 0.2);
}

.treatment-float-badge i {
  color: #f59e0b;
  font-size: 1.4rem;
}

.treatment-float-badge b {
  display: block;
  color: var(--teal-d);
  font-size: 0.94rem;
  line-height: 1.2;
}

.treatment-float-badge span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

/* Benefit Grid inside splits */
.treatment-benefit-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(47, 111, 106, 0.08);
  border-color: rgba(47, 111, 106, 0.3);
}

.benefit-item i {
  color: var(--teal);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item b {
  display: block;
  color: var(--teal-d);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.benefit-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* IVF 4-Step Process Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 36px rgba(47, 111, 106, 0.12);
  border-color: rgba(47, 111, 106, 0.35);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.step-num {
  font-family: var(--fd);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal-d);
  line-height: 1;
}

.step-duration {
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--rose-l);
  color: var(--rose);
  padding: 4px 10px;
  border-radius: 50px;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.15rem;
  color: var(--teal-d);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Technology Cards */
.tech-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(47, 111, 106, 0.12);
  border-color: rgba(47, 111, 106, 0.35);
}

.tech-card-img {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.tech-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tech-card:hover .tech-card-img img {
  transform: scale(1.06);
}

.tech-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--teal-d);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tech-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tech-card-body h3 {
  font-size: 1.22rem;
  color: var(--teal-d);
  margin-bottom: 8px;
}

.tech-card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.tech-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.tech-features li i {
  color: var(--teal);
}

/* Pricing Grid & Cards */
.pricing-grid {
  margin-top: 36px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(47, 111, 106, 0.14);
  border-color: rgba(47, 111, 106, 0.35);
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 12px 36px rgba(47, 111, 106, 0.16);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(47, 111, 106, 0.35);
  white-space: nowrap;
}

.pricing-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--rose);
  margin-bottom: 6px;
  display: block;
}

.pricing-card h3 {
  font-size: 1.45rem;
  color: var(--teal-d);
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: var(--fd);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}

.pricing-amount span {
  font-family: var(--fb);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 42px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.4;
}

.pricing-features li i {
  color: var(--teal);
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 13px 20px;
}


@media(max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
}

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

/* ── DOCTORS PAGE STYLES ── */
.doctors-banner {
  position: relative;
  min-height: 480px;
  padding: clamp(75px, 10vw, 125px) 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(12, 38, 35, 0.65) 0%, rgba(20, 56, 52, 0.50) 50%, rgba(48, 18, 28, 0.58) 100%),
    url('../images/doctors.avif') center center / cover no-repeat;
  color: #ffffff;
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}

.doctors-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(10, 28, 25, 0.10) 0%, rgba(8, 24, 21, 0.35) 100%);
  pointer-events: none;
}

.doctors-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.doctors-banner .eyebrow {
  color: #ffd6dc;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
  display: inline-block;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}

.doctors-banner h1 {
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.2;
}

.doctors-banner .banner-lead {
  color: #ffffff;
  max-width: 740px;
  margin: 18px auto 0;
  font-size: 1.15rem;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.doctors-banner .btn-row {
  justify-content: center;
  margin: 28px 0 34px;
  gap: 16px;
}

.director-spotlight-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(47, 111, 106, 0.16);
  border: 1.5px solid var(--line);
  background: var(--surface);
}

.director-img-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: var(--sage);
}

.director-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.director-spotlight-card:hover .director-img-wrap img {
  transform: scale(1.04);
}

.director-float-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(47, 111, 106, 0.2);
}

.director-float-badge i {
  color: #f59e0b;
  font-size: 1.4rem;
}

.director-float-badge b {
  display: block;
  color: var(--teal-d);
  font-size: 0.94rem;
  line-height: 1.2;
}

.director-float-badge span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.doctor-credential-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 28px;
}

.doctor-credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink);
}

.doctor-credential-item i {
  color: var(--teal);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.doctor-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--sage);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.84rem;
  border: 1.5px solid rgba(47, 111, 106, 0.2);
  margin-top: 16px;
  transition: all 0.25s ease;
  text-decoration: none;
  width: 100%;
}

.doctor-book-btn:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  transform: translateY(-2px);
}

.lab-showcase-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 12px 36px rgba(47, 111, 106, 0.12);
  border: 1.5px solid var(--line);
  height: 380px;
}

.lab-showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lab-showcase-frame:hover img {
  transform: scale(1.03);
}

.lab-overlay-badges {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.lab-overlay-pill {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-d);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(47, 111, 106, 0.2);
}

.lab-overlay-pill i {
  color: var(--teal);
}

.award-stat-card {
  text-align: center;
}

.award-stat-card .ico {
  margin: 0 auto 16px;
}

/* ── RESOURCES PAGE STYLES ── */
.resources-banner {
  position: relative;
  min-height: 480px;
  padding: clamp(75px, 10vw, 125px) 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(12, 38, 35, 0.72) 0%, rgba(20, 56, 52, 0.58) 50%, rgba(48, 18, 28, 0.65) 100%),
    url('../images/resource-bg.webp') center center / cover no-repeat;
  color: #ffffff;
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}

.resources-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(10, 28, 25, 0.12) 0%, rgba(8, 24, 21, 0.40) 100%);
  pointer-events: none;
}

.resources-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.resources-banner .eyebrow {
  color: #ffd6dc;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
  display: inline-block;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}

.resources-banner h1 {
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.2;
}

.resources-banner p {
  color: #ffffff;
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1.15rem;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.resources-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.resources-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.resources-trust-item i {
  color: #8fd3cb;
  font-size: 1rem;
}

/* Featured Guide Highlight Showcase */
.guide-highlight-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 12px 36px rgba(47, 111, 106, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-highlight-card:hover {
  box-shadow: 0 18px 48px rgba(47, 111, 106, 0.14);
}

.guide-visual-frame {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1.5px solid var(--line);
}

.guide-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.guide-highlight-card:hover .guide-visual-frame img {
  transform: scale(1.04);
}

.guide-info-content {
  display: flex;
  flex-direction: column;
}

.guide-info-content .eyebrow {
  margin-bottom: 8px;
}

.guide-info-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--teal-d);
  line-height: 1.25;
  margin-bottom: 14px;
}

.guide-info-content p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.guide-steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}

.guide-steps-list li i {
  color: var(--teal);
  background: var(--sage);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-step-text {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: baseline;
  gap: 12px;
  flex: 1;
}

.guide-step-text strong {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.guide-step-text span {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .guide-step-text {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.guide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-subtext {
  max-width: 640px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Article Cards */
.article-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.article-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(47, 111, 106, 0.12);
  border-color: rgba(47, 111, 106, 0.35);
}

.article-card-img {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--sage);
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-img img {
  transform: scale(1.06);
}


.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.article-card-body h3 {
  font-size: 1.18rem;
  color: var(--teal-d);
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.article-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.article-read-link:hover {
  color: var(--teal-d);
  gap: 10px;
}

/* Free Downloads Toolkit Cards */
.download-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(47, 111, 106, 0.12);
  border-color: rgba(47, 111, 106, 0.35);
}

.download-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--sage);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.download-card:hover .download-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
  background: var(--teal);
  color: #ffffff;
}

.download-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

.download-card h3 {
  font-size: 1.2rem;
  color: var(--teal-d);
  margin-bottom: 8px;
}

.download-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.download-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 50px;
  background: var(--sage);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.86rem;
  border: 1.5px solid rgba(47, 111, 106, 0.2);
  transition: all 0.22s ease;
  text-decoration: none;
}

.download-action-btn:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  transform: translateY(-2px);
}

/* Webinar Schedule Cards */
.webinar-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.webinar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(47, 111, 106, 0.12);
}

.webinar-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose);
  background: var(--rose-l);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  width: fit-content;
}

.webinar-card h3 {
  font-size: 1.2rem;
  color: var(--teal-d);
  margin-bottom: 8px;
}

.webinar-speaker {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.webinar-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 22px;
  flex: 1;
}

/* Clinical FAQ Accordion */
.resources-faq-wrap {
  max-width: 860px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.resources-faq-item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.resources-faq-item[open] {
  border-color: var(--teal);
  box-shadow: 0 6px 20px rgba(47, 111, 106, 0.08);
}

.resources-faq-summary {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-d);
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.resources-faq-summary::-webkit-details-marker {
  display: none;
}

.resources-faq-summary i {
  color: var(--teal);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.resources-faq-item[open] .resources-faq-summary i {
  transform: rotate(180deg);
}

.resources-faq-summary:hover {
  color: var(--teal);
}

.resources-faq-answer {
  padding: 0 24px 20px;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.65;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .guide-highlight-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .guide-visual-frame {
    height: 260px;
  }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-banner {
  position: relative;
  min-height: 480px;
  padding: clamp(75px, 10vw, 125px) 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(12, 38, 35, 0.72) 0%, rgba(20, 56, 52, 0.58) 50%, rgba(48, 18, 28, 0.65) 100%),
    url('../images/contact.avif') center center / cover no-repeat;
  color: #ffffff;
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}

.contact-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(10, 28, 25, 0.12) 0%, rgba(8, 24, 21, 0.40) 100%);
  pointer-events: none;
}

.contact-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-banner .eyebrow {
  color: #ffd6dc;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
  display: inline-block;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}

.contact-banner h1 {
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.2;
}

.contact-banner p {
  color: #ffffff;
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1.15rem;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

/* Quick contact info cards */
.contact-quick-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(47, 111, 106, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(47, 111, 106, 0.12);
  border-color: rgba(47, 111, 106, 0.35);
}

.contact-quick-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--sage);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-quick-card:hover .contact-quick-icon {
  transform: scale(1.1);
  background: var(--teal);
  color: #ffffff;
}

.contact-quick-card h3 {
  font-size: 1.22rem;
  color: var(--teal-d);
  margin-bottom: 8px;
}

.contact-quick-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.contact-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.contact-action-link:hover {
  color: var(--teal-d);
  gap: 10px;
}

/* Main Split: Form & Map */
.contact-main-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.contact-form-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 38px 34px;
  box-shadow: 0 12px 36px rgba(47, 111, 106, 0.08);
  display: flex;
  flex-direction: column;
}

.contact-form-header {
  margin-bottom: 24px;
}

.contact-form-header h2 {
  font-size: 1.65rem;
  color: var(--teal-d);
  margin-bottom: 8px;
}

.contact-form-header p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.contact-form-group {
  margin-bottom: 16px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-input-wrap i {
  position: absolute;
  left: 16px;
  color: var(--teal);
  font-size: 1.05rem;
  pointer-events: none;
}

.contact-input-wrap input,
.contact-input-wrap select,
.contact-input-wrap textarea {
  width: 100%;
  max-width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background-color: var(--bg);
  color: var(--ink);
  font-size: 0.92rem;
  font-family: var(--fb);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-input-wrap input::placeholder,
.contact-input-wrap textarea::placeholder {
  color: var(--muted);
  font-weight: 400;
  opacity: 0.75;
}

.contact-input-wrap select {
  font-family: var(--fb);
  font-weight: 400;
  color: var(--ink);
  padding: 13px 40px 13px 44px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="%235db3aa" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 13px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.contact-input-wrap select option {
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--fb);
  font-weight: 400;
  padding: 8px 12px;
}

.contact-input-wrap.textarea-wrap,
.contact-input-wrap:has(textarea) {
  align-items: flex-start;
}

.contact-input-wrap.textarea-wrap i,
.contact-input-wrap:has(textarea) i {
  top: 16px;
  transform: none;
}

.contact-input-wrap textarea {
  padding: 14px 16px 14px 44px;
  resize: vertical;
}

.contact-input-wrap input:focus,
.contact-input-wrap select:focus,
.contact-input-wrap textarea:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 111, 106, 0.15);
}

.contact-form-card .btn {
  border-radius: 14px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-form-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 112, 127, 0.35);
}

.contact-form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 14px;
  text-align: center;
  justify-content: center;
}

.contact-form-privacy i {
  color: var(--teal);
}

/* Map Card */
.contact-map-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(47, 111, 106, 0.08);
  display: flex;
  flex-direction: column;
}

.contact-map-frame {
  width: 100%;
  flex: 1;
  min-height: 380px;
  position: relative;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map-info-bar {
  padding: 24px;
  background: var(--surface);
  border-top: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink);
}

.contact-map-info-item i {
  color: var(--teal);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-map-actions .btn {
  flex: 1 1 calc(50% - 10px);
  min-width: 140px;
  justify-content: center;
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 0.88rem;
  border-radius: 12px;
}

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

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .contact-input-wrap input,
  .contact-input-wrap select,
  .contact-input-wrap textarea {
    padding: 11px 14px 11px 40px;
    font-size: 0.88rem;
    border-radius: 12px;
  }

  .contact-input-wrap select {
    padding-right: 32px;
    background-position: right 12px center;
    background-size: 11px;
  }

  .contact-input-wrap i {
    left: 14px;
    font-size: 0.95rem;
  }

  .contact-input-wrap.textarea-wrap i,
  .contact-input-wrap:has(textarea) i {
    top: 13px;
  }

  .contact-form-card .btn {
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ============================================================
   Bloom Fertility — Admin Dashboard
   Integrated into style.css
   ============================================================ */

/* ── Scoped design tokens ─────────────────────────────────── */
html:has(.admin-dashboard),
html:has(.user-dashboard),
html.admin-dashboard-active,
html.user-dashboard-active {
  overflow-x: clip;
}

.ad-body.admin-dashboard,
.ad-body.user-dashboard,
.ad-body {
  --teal: #0F5B5D;
  --teal-d: #0b4749;
  --rose: #E76F86;
  --rose-mid: #f2a1b0;
  --rose-l: #fdeef1;
  --sage: #eef6f5;
  --mint: #e5f2f1;
  --line: #e7ebec;
  --muted: #6f8486;
  --ink: #17302f;
  --bg: #f5f9f9;
  --surface: #ffffff;
  --r: 16px;
  --sh: 0 6px 22px rgba(15, 91, 93, .07);
  --fd: 'Lora', Georgia, serif;
  --fb: 'Inter', system-ui, -apple-system, sans-serif;
  font-family: var(--fb);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
}

/* ── Shell / fixed sidebar ────────────────────────────────── */
.ad-body .ad-shell {
  display: block;
  min-height: 100vh;
}

.ad-body .ad-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 264px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 16px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  z-index: 200;
  transition: transform .3s ease;
}

.ad-body .ad-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px;
  margin-bottom: 8px;
}

.ad-body .ad-sidebar .logo {
  font: 600 clamp(1.25rem, 1.4vw, 1.45rem) var(--fd);
  color: var(--teal-d);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-bottom: 0;
  margin-bottom: 0;
  text-decoration: none;
  line-height: 1;
}

.ad-body .ad-sidebar .logo span { color: var(--rose); }
.ad-body .ad-sidebar .logo i { color: var(--teal); font-size: 1.35rem; }

.ad-body .ad-sidebar-close {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--rose-mid);
  background: var(--rose-l);
  color: var(--rose);
  font-size: 1.15rem;
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
  transition: all .2s ease;
}

.ad-body .ad-sidebar-close:hover {
  background: var(--rose);
  color: #ffffff;
  border-color: var(--rose);
  box-shadow: 0 4px 12px rgba(231, 111, 134, 0.3);
}

.ad-body .ad-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(15, 91, 93, 0.22);
  background: var(--mint);
  color: var(--teal);
  font-size: 1.4rem;
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
  transition: all .2s ease;
}

.ad-body .ad-burger:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(15, 91, 93, 0.25);
}

/* ── Welcome Banner & Page Headers ────────────────────────── */
.admin-dashboard .ad-welcome-banner,
.user-dashboard .ad-welcome-banner,
.ad-body .ad-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--surface), var(--sage));
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 24px;
  box-shadow: var(--sh);
}

.admin-dashboard .ad-welcome-text h2,
.ad-body .ad-page-header h2 {
  font: 600 1.35rem var(--fd);
  color: var(--teal-d);
  line-height: 1.25;
  margin-bottom: 3px;
}

.admin-dashboard .ad-welcome-text p,
.ad-body .ad-page-header p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
}

.admin-dashboard .ad-welcome-badge,
.ad-body .ad-page-header .ad-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
}

.admin-dashboard .ad-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.admin-dashboard .ad-sidebar a.nl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  margin: 0;
  border-radius: 11px;
  font-weight: 500;
  font-size: .97rem;
  color: #4a5f61;
  transition: background .18s, color .18s;
}

.admin-dashboard .ad-sidebar a.nl i {
  font-size: 1.08rem;
  width: 20px;
  text-align: center;
  color: #93a7a8;
  transition: color .18s;
}

.admin-dashboard .ad-sidebar a.nl:hover {
  background: var(--sage);
  color: var(--teal);
}

.admin-dashboard .ad-sidebar a.nl:hover i { color: var(--teal); }

.admin-dashboard .ad-sidebar a.nl.active {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 91, 93, .22);
}

.admin-dashboard .ad-sidebar a.nl.active i { color: #ffffff; }

.admin-dashboard .ad-sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-dashboard .ad-sidebar-toggles {
  display: none;
  gap: 8px;
}

.admin-dashboard .ad-side-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--teal);
  font: 600 .8rem var(--fb);
  cursor: pointer;
  transition: all .18s;
}

.admin-dashboard .ad-side-toggle i {
  font-size: .95rem;
}

.admin-dashboard .ad-side-toggle:hover {
  background: var(--sage);
  border-color: var(--teal);
  color: var(--teal-d);
}

.admin-dashboard .ad-sidebar a.ad-logout {
  color: var(--rose);
}

.admin-dashboard .ad-sidebar a.ad-logout i { color: var(--rose); }

.admin-dashboard .ad-sidebar a.ad-logout:hover {
  background: var(--rose-l);
  color: var(--rose);
}

/* ── Topbar Toggles ───────────────────────────────────────── */
.admin-dashboard .ad-top-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Main column / topbar ─────────────────────────────────── */
.admin-dashboard .ad-main {
  margin-left: 264px;
  padding: 0;
  min-width: 0;
}

.admin-dashboard .ad-top {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  padding: 14px clamp(16px, 2.4vw, 34px);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.admin-dashboard .ad-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.admin-dashboard .ad-top-left h1 {
  font: 600 1.5rem var(--fd);
  color: var(--teal-d);
  line-height: 1.2;
}

.admin-dashboard .ad-top-left p {
  color: var(--muted);
  font-size: .84rem;
}

.admin-dashboard .ad-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-dashboard .ad-content {
  padding: 26px clamp(16px, 2.4vw, 34px) 48px;
}

/* Search */
.admin-dashboard .ad-search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  min-width: 240px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .18s, box-shadow .18s;
}

.admin-dashboard .ad-search i { color: var(--muted); font-size: .95rem; }

.admin-dashboard .ad-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .89rem;
  color: var(--ink);
}

.admin-dashboard .ad-search:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 91, 93, .09);
}

/* Icon buttons */
.admin-dashboard .icon-btn {
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--teal);
}

.admin-dashboard .icon-btn:hover {
  background: var(--sage);
  border-color: var(--teal);
  color: var(--teal-d);
}

.admin-dashboard .icon-btn.dropdown-toggle i { font-size: 1.05rem; }

.admin-dashboard .ad-notif .dropdown-toggle i { transform: none; }
.admin-dashboard .ad-notif { position: relative; }
.admin-dashboard .ad-notif .dropdown-toggle { position: relative; }

.admin-dashboard .dot-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--rose);
  color: #fff;
  font: 700 .62rem var(--fb);
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
}

/* Profile */
.admin-dashboard .ad-profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
}

.admin-dashboard .ad-profile-btn:hover { border-color: var(--teal); }

.admin-dashboard .ad-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--rose));
  color: #fff;
  display: grid;
  place-items: center;
  font: 600 .82rem var(--fb);
  flex-shrink: 0;
}

.admin-dashboard .ad-profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.admin-dashboard .ad-profile-info b { font-size: .85rem; font-weight: 600; color: var(--ink); }
.admin-dashboard .ad-profile-info small { font-size: .72rem; color: var(--muted); }
.admin-dashboard .ad-profile-btn > i { color: var(--muted); font-size: .72rem; }

/* Dropdown menus */
.admin-dashboard .dropdown-menu {
  top: calc(100% + 10px);
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 91, 93, .16);
  background: var(--surface);
}

.admin-dashboard .ad-menu { left: auto; right: 0; }

.admin-dashboard .ad-menu-head {
  padding: 8px 14px 6px;
  font: 700 .7rem var(--fb);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-dashboard .ad-menu .dropdown-item { font-weight: 500; }

.admin-dashboard .ad-menu-time {
  margin-left: auto;
  font-size: .72rem;
  color: var(--muted);
}

.admin-dashboard .ad-menu-foot {
  margin-top: 6px;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
}

.admin-dashboard .ad-top .dropdown {
  position: relative;
  display: inline-flex;
  width: auto;
}

.admin-dashboard .ad-top .dropdown > .dropdown-toggle {
  display: inline-flex;
  width: auto;
}

.admin-dashboard .ad-top .dropdown-menu.ad-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: auto;
  right: 0;
  width: auto;
  min-width: 240px;
  margin: 0;
  display: none;
}

.admin-dashboard .ad-top .dropdown.open > .dropdown-menu.ad-menu {
  display: block;
}

@media (min-width: 1025px) {
  .admin-dashboard .ad-top .dropdown:hover > .dropdown-menu.ad-menu {
    display: block;
  }
}

/* ── View switcher (.ad-view) ─────────────────────────────── */
.admin-dashboard .ad-view {
  display: none;
  animation: adFadeIn .25s ease-out;
}

.admin-dashboard .ad-view.active {
  display: block;
}

@keyframes adFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Sections & grids ─────────────────────────────────────── */
.admin-dashboard .ad-sec {
  margin-bottom: 24px;
  scroll-margin-top: 96px;
}

.admin-dashboard .ad-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-dashboard .ad-split {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
}

.admin-dashboard .ad-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ── Summary cards ────────────────────────────────────────── */
.admin-dashboard .stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
  transition: transform .25s, box-shadow .25s;
  min-width: 0;
}

.admin-dashboard .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 91, 93, .1);
}

.admin-dashboard .stat-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.admin-dashboard .stat-ico.teal { background: var(--mint); color: var(--teal); }
.admin-dashboard .stat-ico.rose { background: var(--rose-l); color: var(--rose); }
.admin-dashboard .stat-ico.blue { background: #eaf1f8; color: #3d7ea6; }
.admin-dashboard .stat-ico.amber { background: #fdf3e5; color: #c98a2b; }

.admin-dashboard .stat-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.admin-dashboard .stat-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-dashboard .stat-value {
  font: 600 clamp(1.18rem, 1.35vw, 1.45rem) var(--fd);
  color: var(--teal-d);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 1px 0;
}

.admin-dashboard .stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.admin-dashboard .stat-trend i {
  flex-shrink: 0;
  font-size: .8rem;
}

.admin-dashboard .stat-trend.up { color: #1f8a6d; }
.admin-dashboard .stat-trend.down { color: var(--rose); }

/* ── Panels ───────────────────────────────────────────────── */
.admin-dashboard .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.admin-dashboard .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-dashboard .panel-head h3 {
  font: 600 1.05rem var(--fd);
  color: var(--teal-d);
}

.admin-dashboard .panel-sub { font-size: .78rem; color: var(--muted); font-weight: 400; }

.admin-dashboard .panel-body { padding: 18px 20px; }
.admin-dashboard .panel-link { font-size: .82rem; font-weight: 600; color: var(--teal); }
.admin-dashboard .panel-link:hover { color: var(--rose); }

/* ── Tables ───────────────────────────────────────────────── */
.admin-dashboard .ad-table-wrap { overflow-x: auto; }

.admin-dashboard .ad-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.admin-dashboard .ad-table th {
  padding: 12px 20px;
  background: var(--bg);
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.admin-dashboard .ad-table td {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  font-size: .87rem;
  color: var(--ink);
  vertical-align: middle;
}

.admin-dashboard .ad-table tbody tr:hover { background: #fafcfc; }
.admin-dashboard .ad-table .muted { color: var(--muted); }
.admin-dashboard .ad-table .nowrap { white-space: nowrap; }

.admin-dashboard .ad-user { display: flex; align-items: center; gap: 11px; }

.admin-dashboard .av-img,
.user-dashboard .av-img,
.ad-body .av-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.admin-dashboard .av-img.lg,
.user-dashboard .av-img.lg,
.ad-body .av-img.lg {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.admin-dashboard .ad-user .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .76rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.admin-dashboard .ad-user .av.t1 { background: linear-gradient(135deg, #0F5B5D, #2f8a86); }
.admin-dashboard .ad-user .av.t2 { background: linear-gradient(135deg, #E76F86, #f2a1b0); }
.admin-dashboard .ad-user .av.t3 { background: linear-gradient(135deg, #3d7ea6, #7fb4d6); }
.admin-dashboard .ad-user .av.t4 { background: linear-gradient(135deg, #c98a2b, #e6bd72); }

.admin-dashboard .ad-user b { display: block; font-size: .87rem; font-weight: 600; }
.admin-dashboard .ad-user small { font-size: .74rem; color: var(--muted); }

/* ── Status badges ────────────────────────────────────────── */
.admin-dashboard .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: .74rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-dashboard .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.admin-dashboard .badge.active { background: var(--sage); color: #1f8a6d; }
.admin-dashboard .badge.new { background: var(--rose-l); color: var(--rose); }
.admin-dashboard .badge.follow { background: #fdf3e5; color: #c98a2b; }
.admin-dashboard .badge.inactive { background: #eef0f1; color: #849396; }
.admin-dashboard .badge.confirmed { background: var(--sage); color: #1f8a6d; }
.admin-dashboard .badge.progress { background: #eaf1f8; color: #3d7ea6; }
.admin-dashboard .badge.pending { background: #fdf3e5; color: #c98a2b; }

/* ── Action buttons ───────────────────────────────────────── */
.admin-dashboard .act { display: inline-flex; gap: 6px; }

.admin-dashboard .act button {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .15s;
}

.admin-dashboard .act button:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--sage);
}

.admin-dashboard .act button.del:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--rose-l);
}

/* ── Filters & search in panel ────────────────────────────── */
.admin-dashboard .ad-filters { display: flex; gap: 8px; flex-wrap: wrap; }

.admin-dashboard .ad-filter {
  padding: 7px 15px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: 600 .8rem var(--fb);
  cursor: pointer;
  transition: .18s;
}

.admin-dashboard .ad-filter:hover { border-color: var(--teal); color: var(--teal); }

.admin-dashboard .ad-filter.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 91, 93, .22);
}

.admin-dashboard .ad-inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-dashboard .ad-inline-search i { color: var(--muted); font-size: .9rem; }

.admin-dashboard .ad-inline-search input {
  width: 170px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .85rem;
  color: var(--ink);
}

.admin-dashboard .ad-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--teal);
  color: #fff;
  font: 600 .85rem var(--fb);
  cursor: pointer;
  transition: .18s;
}

.admin-dashboard .ad-btn:hover { background: var(--teal-d); }

.admin-dashboard .ad-btn.ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--teal);
}

.admin-dashboard .ad-btn.ghost:hover { border-color: var(--teal); background: var(--sage); }

/* ── Lists (recent registrations) ─────────────────────────── */
.admin-dashboard .ad-list { display: flex; flex-direction: column; }

.admin-dashboard .ad-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}

.admin-dashboard .ad-list-row:first-child { border-top: 0; }
.admin-dashboard .ad-list-row .ad-user { flex: 1; min-width: 0; }
.admin-dashboard .ad-list-row time { font-size: .73rem; color: var(--muted); white-space: nowrap; }

/* ── Doctor availability ──────────────────────────────────── */
.admin-dashboard .ad-doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

.admin-dashboard .ad-doc:first-child { border-top: 0; }
.admin-dashboard .ad-doc .ad-user { flex: 1; min-width: 0; }

.admin-dashboard .ad-avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-dashboard .ad-avail::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.admin-dashboard .ad-avail.on { color: #1f8a6d; }
.admin-dashboard .ad-avail.busy { color: #c98a2b; }
.admin-dashboard .ad-avail.off { color: #9aa8a9; }

/* ── Doctor Cards Grid (Doctors View) ─────────────────────── */
.admin-dashboard .ad-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.admin-dashboard .ad-doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s, box-shadow .25s;
}

.admin-dashboard .ad-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 91, 93, .1);
}

.admin-dashboard .ad-doc-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-dashboard .ad-doc-card-header .av {
  width: 48px;
  height: 48px;
  font-size: .95rem;
}

.admin-dashboard .ad-doc-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .83rem;
}

.admin-dashboard .ad-doc-stat {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.admin-dashboard .ad-doc-stat b {
  color: var(--ink);
  font-weight: 600;
}

/* ── Cycle Stage Funnel / Cards (Cycles View) ─────────────── */
.admin-dashboard .ad-stage-pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.admin-dashboard .ad-stage-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  position: relative;
  transition: all .2s;
}

.admin-dashboard .ad-stage-step:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.admin-dashboard .ad-stage-step .step-num {
  font-size: .72rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.admin-dashboard .ad-stage-step h4 {
  font-size: .92rem;
  font-weight: 600;
  color: var(--teal-d);
  margin-bottom: 6px;
}

.admin-dashboard .ad-stage-step .step-count {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--fd);
}

/* ── Progress bars (treatment cycle) ──────────────────────── */
.admin-dashboard .ad-bar { margin: 14px 0; }

.admin-dashboard .ad-bar .lab {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.admin-dashboard .ad-bar .lab span:last-child { color: var(--muted); }

.admin-dashboard .ad-bar .track {
  height: 9px;
  border-radius: 9px;
  background: var(--line);
  overflow: hidden;
}

.admin-dashboard .ad-bar .fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--teal), var(--rose));
  transition: width 1.2s ease;
}

/* ── Payment summary ──────────────────────────────────────── */
.admin-dashboard .ad-pay {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-dashboard .ad-pay .t {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg);
}

.admin-dashboard .ad-pay .t b { display: block; font: 600 1.15rem var(--fd); color: var(--teal-d); }
.admin-dashboard .ad-pay .t.rose b { color: var(--rose); }
.admin-dashboard .ad-pay .t span { font-size: .74rem; color: var(--muted); }

/* ── Analytics bars ───────────────────────────────────────── */
.admin-dashboard .ad-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
  padding: 8px 4px 26px;
}

.admin-dashboard .ad-bars .b {
  flex: 1;
  min-height: 8px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--teal), #2f807f);
  position: relative;
}

.admin-dashboard .ad-bars .b.alt { background: linear-gradient(180deg, var(--rose), #ef9aa9); }

.admin-dashboard .ad-bars .b span {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .72rem;
  color: var(--muted);
}

.admin-dashboard .ad-bars .b em {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .7rem;
  font-style: normal;
  color: var(--muted);
}

/* ── Mobile overlay ───────────────────────────────────────── */
body.ad-lock { overflow: hidden; }

.admin-dashboard .ad-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 32, 32, .42);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 190;
}

.admin-dashboard .ad-overlay.show { opacity: 1; visibility: visible; }

.admin-dashboard .ad-burger { display: none; }

/* ── Empty state ──────────────────────────────────────────── */
.admin-dashboard .ad-empty {
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1360px) {
  .admin-dashboard .ad-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

@media (max-width: 1024px) {
  .admin-dashboard .ad-sidebar { transform: translateX(-100%); }
  .admin-dashboard .ad-sidebar.open { transform: none; box-shadow: 0 0 50px rgba(0, 0, 0, .22); }
  .admin-dashboard .ad-sidebar-close { display: grid; }
  .admin-dashboard .ad-sidebar-toggles { display: flex; }
  .admin-dashboard .ad-main { margin-left: 0; }
  .admin-dashboard .ad-burger { display: grid; }
  .admin-dashboard .ad-top { position: sticky; top: 0; z-index: 150; flex-wrap: nowrap; padding: 12px 20px; background: rgba(255, 255, 255, 0.96); }
  .admin-dashboard .ad-top-left { gap: 10px; }
  .admin-dashboard .ad-top-left h1 { font-size: 1.3rem; white-space: nowrap; margin: 0; }
  .admin-dashboard .ad-split,
  .admin-dashboard .ad-two { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .admin-dashboard .ad-top-toggles { display: none; }
  .admin-dashboard .ad-top-right { margin-left: auto; gap: 10px; }
  .admin-dashboard .ad-search { min-width: 150px; max-width: 240px; height: 38px; }
  .admin-dashboard .ad-content { padding: 22px 20px 48px; }
  .admin-dashboard .ad-pay { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .admin-dashboard .ad-doc-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
}

@media (max-width: 820px) {
  .admin-dashboard .ad-search { min-width: 130px; max-width: 180px; }
  .admin-dashboard .ad-profile-info small { display: none; }
  .admin-dashboard .ad-profile-info b { font-size: 0.84rem; }
  .admin-dashboard .ad-pay { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .admin-dashboard .ad-pay .t { padding: 12px 10px; }
  .admin-dashboard .ad-pay .t b { font-size: 1.05rem; }
}

@media (max-width: 680px) {
  .admin-dashboard .ad-pay { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .admin-dashboard .ad-search { display: none; }
  .admin-dashboard .ad-profile-info { display: none; }
  .admin-dashboard .ad-profile-btn { padding: 4px; border-radius: 50%; }
  .admin-dashboard .ad-profile-btn > i { display: none; }
}

@media (max-width: 600px) {
  .admin-dashboard .ad-stats { grid-template-columns: minmax(0, 1fr); }
  .admin-dashboard .ad-content { padding: 18px 14px 40px; }
  .admin-dashboard .stat-card { padding: 16px; }
  .admin-dashboard .ad-inline-search input { width: 120px; }
  .admin-dashboard .ad-welcome-banner { padding: 16px 14px; }
  .admin-dashboard .panel-head { padding: 14px 16px; }
  .admin-dashboard .panel-body { padding: 14px 16px; }
}

/* ── RTL support ──────────────────────────────────────────── */
[dir="rtl"] .admin-dashboard .ad-sidebar {
  left: auto;
  right: 0;
  border-right: 0;
  border-left: 1px solid var(--line);
}

[dir="rtl"] .admin-dashboard .ad-main {
  margin-left: 0;
  margin-right: 264px;
}

@media (max-width: 1024px) {
  [dir="rtl"] .admin-dashboard .ad-top-right {
    margin-left: 0;
    margin-right: auto;
  }
}

[dir="rtl"] .admin-dashboard .ad-table th,
[dir="rtl"] .admin-dashboard .ad-table td { text-align: right; }

[dir="rtl"] .admin-dashboard .ad-user,
[dir="rtl"] .admin-dashboard .ad-list-row,
[dir="rtl"] .admin-dashboard .ad-doc,
[dir="rtl"] .admin-dashboard .stat-card { text-align: right; }

[dir="rtl"] .admin-dashboard .ad-menu,
[dir="rtl"] .admin-dashboard .ad-top .dropdown-menu.ad-menu { left: 0; right: auto; }

@media (max-width: 1024px) {
  [dir="rtl"] .admin-dashboard .ad-sidebar { transform: translateX(100%); }
  [dir="rtl"] .admin-dashboard .ad-sidebar.open { transform: none; }
  [dir="rtl"] .admin-dashboard .ad-main { margin-right: 0; }
}

/* ── Dark theme support ───────────────────────────────────── */
[data-theme="dark"] .ad-body.admin-dashboard {
  --bg: #0e1414;
  --surface: #161d1d;
  --ink: #e8efee;
  --muted: #93a3a3;
  --line: #26302f;
  --sage: #12201f;
  --mint: #12302d;
  --rose-l: #33161d;
  --teal: #3fa9a1;
  --teal-d: #8fd6cf;
  --rose: #f08a98;
  --sh: 0 6px 22px rgba(0, 0, 0, .4);
  color: #e8efee;
}

[data-theme="dark"] .admin-dashboard .ad-top {
  background: rgba(14, 20, 20, .88);
}

[data-theme="dark"] .admin-dashboard .ad-search { background: #101717; }
[data-theme="dark"] .admin-dashboard .ad-table tbody tr:hover { background: #1a2222; }
[data-theme="dark"] .admin-dashboard .ad-pay .t { background: #101717; }
[data-theme="dark"] .admin-dashboard .badge.active,
[data-theme="dark"] .admin-dashboard .badge.confirmed { background: #12302d; color: #5fd3b0; }
[data-theme="dark"] .admin-dashboard .badge.follow,
[data-theme="dark"] .admin-dashboard .badge.pending { background: #322711; color: #e6bd72; }
[data-theme="dark"] .admin-dashboard .badge.inactive { background: #232b2b; color: #9aa8a9; }
[data-theme="dark"] .admin-dashboard .stat-ico.teal { background: #12302d; color: #5fd3b0; }
[data-theme="dark"] .admin-dashboard .stat-ico.rose { background: #361720; color: #fca5b4; }
[data-theme="dark"] .admin-dashboard .stat-ico.rose i { color: #fca5b4; }
[data-theme="dark"] .admin-dashboard .stat-ico.blue { background: #12242f; color: #7fb4d6; }
[data-theme="dark"] .admin-dashboard .stat-ico.amber { background: #322711; color: #e6bd72; }
[data-theme="dark"] .admin-dashboard .dot-badge { border-color: var(--surface); }
[data-theme="dark"] .admin-dashboard .ad-burger {
  background: #142f2d;
  border-color: #265551;
  color: #5fd3b0;
}
[data-theme="dark"] .admin-dashboard .ad-sidebar-close {
  background: #361720;
  border-color: #692a39;
  color: #fca5b4;
}