/* ==========================================================================
   Dr. Rozaline — Luxe sections (journey steps, care pillars, about page, CTA)
   One design language on every page: violet + leaf green, soft glass cards,
   generous spacing, the theme's own type scale.
   ========================================================================== */

:root {
  --rz-v900: #1c0d33;
  --rz-v800: #2a1450;
  --rz-v700: #4a2377;
  --rz-v600: #603092;
  --rz-v500: #7c4da8;
  --rz-v100: #ede5f4;
  --rz-v50: #f7f3fb;
  --rz-leaf: #8fae4a;
  --rz-leaf-soft: #eef4e0;
  --rz-ink: #1e1730;
  --rz-muted: #5f5873;
  --rz-line: rgba(96, 48, 146, .12);
  --rz-shadow: 0 18px 50px -22px rgba(42, 20, 80, .35);
  --rz-shadow-lg: 0 30px 70px -28px rgba(42, 20, 80, .45);
}

/* ---------- section shell ---------- */
.rz-sec { position: relative; padding: 110px 0; overflow: hidden; }
.rz-sec.rz-tint { background: linear-gradient(180deg, var(--rz-v50) 0%, #fff 100%); }
.rz-sec.rz-dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(143, 174, 74, .18), transparent 60%), linear-gradient(135deg, var(--rz-v900) 0%, var(--rz-v800) 55%, var(--rz-v700) 100%); color: #fff; }
@media (max-width: 991px) { .rz-sec { padding: 72px 0; } }
@media (max-width: 575px) { .rz-sec { padding: 56px 0; } }

.rz-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.rz-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--rz-v600); background: var(--rz-v100); margin-bottom: 14px; }
.rz-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rz-leaf); box-shadow: 0 0 0 4px rgba(143, 174, 74, .22); }
.rz-dark .rz-eyebrow { color: #fff; background: rgba(255, 255, 255, .1); }
.rz-h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; font-weight: 800; color: var(--rz-ink); margin: 0 0 14px; }
.rz-dark .rz-h2 { color: #fff; }
.rz-lead { font-size: 17px; line-height: 1.9; color: var(--rz-muted); margin: 0; }
.rz-dark .rz-lead { color: rgba(255, 255, 255, .78); }
@media (max-width: 575px) { .rz-head { margin-bottom: 36px; } .rz-lead { font-size: 15px; } }

/* ---------- buttons ---------- */
.rz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1; transition: transform .25s, box-shadow .25s, background .25s; text-decoration: none; white-space: nowrap; }
.rz-btn-primary { color: #fff !important; background: linear-gradient(135deg, var(--rz-v500), var(--rz-v600)); box-shadow: 0 12px 28px -10px rgba(96, 48, 146, .65); }
.rz-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(96, 48, 146, .75); }
.rz-btn-ghost { color: var(--rz-v600) !important; background: #fff; border: 1.5px solid var(--rz-line); }
.rz-btn-ghost:hover { border-color: var(--rz-v600); transform: translateY(-2px); }
.rz-dark .rz-btn-ghost { color: #fff !important; background: transparent; border-color: rgba(255, 255, 255, .35); }
.rz-dark .rz-btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.rz-btn i { font-size: 14px; }

/* ---------- journey steps (the client's stages in the system) ---------- */
.rz-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; counter-reset: rzstep; }
.rz-steps::before { content: ""; position: absolute; top: 46px; inset-inline: 10%; height: 2px; background: repeating-linear-gradient(90deg, rgba(96, 48, 146, .35) 0 8px, transparent 8px 16px); z-index: 0; }
.rz-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rz-step-dot { position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--rz-line); box-shadow: var(--rz-shadow); margin-bottom: 22px; transition: transform .35s; }
.rz-step-dot i { font-size: 30px; color: var(--rz-v600); transition: color .35s; }
.rz-step-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--rz-v100), #fff); z-index: -1; transition: background .35s; }
.rz-step-num { position: absolute; top: -4px; inset-inline-end: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: var(--rz-leaf); border: 3px solid #fff; }
.rz-step-card { flex: 1; width: 100%; background: #fff; border: 1px solid var(--rz-line); border-radius: 22px; padding: 24px 20px 22px; box-shadow: 0 10px 30px -20px rgba(42, 20, 80, .25); transition: transform .35s, box-shadow .35s, border-color .35s; display: flex; flex-direction: column; }
.rz-step-card h3 { font-size: 20px; font-weight: 800; color: var(--rz-ink); margin: 0 0 10px; }
.rz-step-card p { font-size: 14.5px; line-height: 1.85; color: var(--rz-muted); margin: 0 0 16px; }
.rz-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: auto; }
.rz-chips span { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--rz-v50); color: var(--rz-v600); border: 1px solid var(--rz-line); }
.rz-step:hover .rz-step-dot { transform: translateY(-4px); }
.rz-step:hover .rz-step-dot::after { background: linear-gradient(135deg, var(--rz-v500), var(--rz-v600)); }
.rz-step:hover .rz-step-dot i { color: #fff; }
.rz-step:hover .rz-step-card { transform: translateY(-4px); box-shadow: var(--rz-shadow-lg); border-color: rgba(96, 48, 146, .3); }
.rz-steps-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 48px; }
.rz-note { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--rz-v700); background: var(--rz-leaf-soft); padding: 10px 18px; border-radius: 999px; }
.rz-note i { color: var(--rz-leaf); }

@media (max-width: 1199px) {
  .rz-steps { grid-template-columns: 1fr; gap: 0; max-width: 680px; margin: 0 auto; }
  .rz-steps::before { top: 30px; bottom: 30px; inset-inline: auto; inset-inline-start: 36px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(96, 48, 146, .35) 0 8px, transparent 8px 16px); }
  .rz-step { flex-direction: row; align-items: flex-start; text-align: start; gap: 18px; padding-bottom: 18px; }
  .rz-step-dot { width: 72px; height: 72px; min-width: 72px; margin: 0; }
  .rz-step-dot i { font-size: 24px; }
  .rz-chips { justify-content: flex-start; }
}
@media (max-width: 575px) {
  .rz-steps::before { inset-inline-start: 28px; }
  .rz-step { gap: 14px; }
  .rz-step-dot { width: 56px; height: 56px; min-width: 56px; }
  .rz-step-dot i { font-size: 19px; }
  .rz-step-num { width: 24px; height: 24px; font-size: 11px; border-width: 2px; }
  .rz-step-card { padding: 18px 16px; border-radius: 18px; }
  .rz-step-card h3 { font-size: 18px; }
}

/* ---------- care pillars ---------- */
.rz-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rz-pillar { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 34px 28px 30px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); border: 1px solid var(--rz-line); box-shadow: 0 14px 40px -26px rgba(42, 20, 80, .35); transition: transform .4s, box-shadow .4s, color .4s; }
.rz-pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--rz-v600) 0%, var(--rz-v800) 100%); opacity: 0; transition: opacity .4s; }
.rz-pillar::after { content: ""; position: absolute; top: 0; inset-inline: 28px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--rz-leaf), var(--rz-v500)); }
.rz-pillar-no { position: absolute; top: 14px; inset-inline-end: 22px; font-size: 64px; font-weight: 900; line-height: 1; color: rgba(96, 48, 146, .07); transition: color .4s; }
.rz-pillar-ic { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--rz-v500), var(--rz-v600)); box-shadow: 0 14px 28px -12px rgba(96, 48, 146, .7); margin-bottom: 24px; transition: background .4s, color .4s; }
.rz-pillar:nth-child(even) .rz-pillar-ic { background: linear-gradient(135deg, #a6c25e, var(--rz-leaf)); box-shadow: 0 14px 28px -12px rgba(110, 140, 50, .7); }
.rz-pillar h3 { font-size: 20px; font-weight: 800; color: var(--rz-ink); margin: 0 0 10px; transition: color .4s; }
.rz-pillar p { font-size: 15px; line-height: 1.9; color: var(--rz-muted); margin: 0; transition: color .4s; }
.rz-pillar:hover { transform: translateY(-8px); box-shadow: var(--rz-shadow-lg); }
.rz-pillar:hover::before { opacity: 1; }
.rz-pillar:hover h3 { color: #fff; }
.rz-pillar:hover p { color: rgba(255, 255, 255, .82); }
.rz-pillar:hover .rz-pillar-no { color: rgba(255, 255, 255, .1); }
.rz-pillar:hover .rz-pillar-ic { background: #fff; color: var(--rz-v600); }
@media (max-width: 1199px) { .rz-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .rz-pillars { grid-template-columns: 1fr; gap: 16px; } .rz-pillar { padding: 28px 22px 24px; } }

/* ---------- about: doctor profile ---------- */
.rz-profile { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.rz-portrait { position: relative; padding: 0 0 30px 30px; }
[dir="rtl"] .rz-portrait { padding: 0 30px 30px 0; }
.rz-portrait::before { content: ""; position: absolute; inset: 30px 0 0 30px; border-radius: 34px; background: linear-gradient(150deg, var(--rz-v500), var(--rz-v800)); }
[dir="rtl"] .rz-portrait::before { inset: 30px 30px 0 0; }
.rz-portrait-img { position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--rz-shadow-lg); border: 6px solid #fff; }
.rz-portrait-img img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; display: block; }
.rz-float { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .96); border-radius: 18px; padding: 12px 18px; box-shadow: var(--rz-shadow); }
.rz-float b { font-size: 26px; font-weight: 900; color: var(--rz-v600); line-height: 1; }
.rz-float span { font-size: 13px; font-weight: 700; color: var(--rz-muted); line-height: 1.4; }
.rz-float i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--rz-leaf-soft); color: var(--rz-leaf); font-size: 17px; }
.rz-float-a { top: 34px; inset-inline-start: -26px; }
.rz-float-b { bottom: 0; inset-inline-end: 40px; }
.rz-name { font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; color: var(--rz-ink); margin: 0 0 6px; line-height: 1.2; }
.rz-role { font-size: 18px; font-weight: 700; color: var(--rz-v600); margin: 0 0 22px; }
.rz-bio p { font-size: 16.5px; line-height: 2; color: var(--rz-muted); margin: 0 0 14px; }
.rz-quote { position: relative; margin: 22px 0 26px; padding: 18px 24px; border-radius: 18px; background: var(--rz-v50); border-inline-start: 4px solid var(--rz-leaf); font-size: 17px; font-weight: 700; line-height: 1.9; color: var(--rz-v800); }
.rz-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0 0 30px; padding: 0; list-style: none; }
.rz-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 700; color: var(--rz-ink); line-height: 1.6; }
.rz-checks li i { margin-top: 3px; width: 22px; height: 22px; min-width: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--rz-leaf); }
.rz-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1199px) { .rz-profile { gap: 48px; } }
@media (max-width: 991px) {
  .rz-profile { grid-template-columns: 1fr; gap: 56px; }
  .rz-portrait { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 575px) {
  .rz-portrait { padding: 0 0 18px 18px; }
  [dir="rtl"] .rz-portrait { padding: 0 18px 18px 0; }
  .rz-portrait::before { inset: 18px 0 0 18px; border-radius: 26px; }
  [dir="rtl"] .rz-portrait::before { inset: 18px 18px 0 0; }
  .rz-portrait-img { border-radius: 26px; border-width: 4px; }
  .rz-float { padding: 9px 13px; border-radius: 14px; gap: 9px; }
  .rz-float b { font-size: 20px; }
  .rz-float span { font-size: 12px; }
  .rz-float i { width: 32px; height: 32px; font-size: 14px; }
  .rz-float-a { top: 18px; inset-inline-start: -8px; }
  .rz-float-b { inset-inline-end: 18px; }
  .rz-checks { grid-template-columns: 1fr; }
  .rz-bio p { font-size: 15.5px; }
  .rz-actions .rz-btn { flex: 1; }
}

/* ---------- stats strip ---------- */
.rz-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 70px; }
.rz-stat { text-align: center; padding: 26px 16px; border-radius: 22px; background: #fff; border: 1px solid var(--rz-line); box-shadow: 0 10px 30px -22px rgba(42, 20, 80, .3); }
.rz-stat b { display: block; font-size: 34px; font-weight: 900; color: var(--rz-v600); line-height: 1.1; margin-bottom: 6px; }
.rz-stat span { font-size: 14px; font-weight: 700; color: var(--rz-muted); }
@media (max-width: 767px) { .rz-stats { grid-template-columns: 1fr 1fr; margin-top: 48px; } .rz-stat b { font-size: 26px; } }

/* ---------- CTA band ---------- */
.rz-cta { position: relative; overflow: hidden; border-radius: 34px; padding: 64px 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; background: radial-gradient(600px 300px at 10% 120%, rgba(143, 174, 74, .35), transparent 60%), linear-gradient(135deg, var(--rz-v800), var(--rz-v600)); box-shadow: var(--rz-shadow-lg); }
.rz-cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); top: -170px; inset-inline-end: -120px; }
.rz-cta h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; color: #fff; margin: 0 0 10px; line-height: 1.35; }
.rz-cta p { font-size: 16.5px; line-height: 1.9; color: rgba(255, 255, 255, .8); margin: 0; }
.rz-cta .rz-actions { position: relative; z-index: 1; }
.rz-cta .rz-btn-primary { background: #fff; color: var(--rz-v700) !important; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .4); }
.rz-cta .rz-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .4); }
@media (max-width: 991px) { .rz-cta { grid-template-columns: 1fr; padding: 44px 30px; text-align: center; } .rz-cta .rz-actions { justify-content: center; } }
@media (max-width: 575px) { .rz-cta { padding: 36px 22px; border-radius: 26px; } }

/* ---------- inner-page banner: always a readable title ---------- */
main.page-content > div[style*="images/banner/"] h1 { color: #fff !important; text-shadow: 0 4px 24px rgba(0, 0, 0, .25); }

/* ---------- sticky header: never clipped, glassy when fixed ---------- */
.sticky-header-wrapper.is-fixed .main-bar,
.site-header.is-fixed .main-bar { background: rgba(255, 255, 255, .94) !important; backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.site-header .main-bar > .container { overflow: visible !important; }

/* ---------- utilities used in the pages but missing from the compiled Tailwind build ---------- */
.bg-primary\/10 { background-color: rgba(96, 48, 146, .1); }
.border-primary\/30 { border-color: rgba(96, 48, 146, .3); }
.border-white\/15 { border-color: rgba(255, 255, 255, .15); }
.border-white\/80 { border-color: rgba(255, 255, 255, .8); }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, .8); }
.border-amber-400\/30 { border-color: rgba(251, 191, 36, .3); }
.bg-amber-400\/20 { background-color: rgba(251, 191, 36, .2); }
.bg-emerald-600 { background-color: #059669; }
.hover\:bg-emerald-600:hover { background-color: #059669; }
.hover\:bg-emerald-700:hover { background-color: #047857; }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:text-secondary:hover { color: var(--secondary, #2a1450); }
.hover\:underline:hover { text-decoration: underline; }
.text-emerald-400 { color: #34d399; }
.text-emerald-600 { color: #059669; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-bodycolor\/70 { color: rgba(95, 88, 115, .7); }
.leading-relaxed { line-height: 1.75; }
.space-y-4 > * + * { margin-top: 1rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-20 { margin-top: 5rem; }
.w-32 { width: 8rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
@media (min-width: 768px) { .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; } .md\:mb-8 { margin-bottom: 2rem; } }
@media (min-width: 1024px) { .lg\:pe-10 { padding-inline-end: 2.5rem; } }
.bg-gradient-to-r.from-\[\#170B2C\] { background-image: linear-gradient(90deg, #170B2C, #2E1065); }
.bg-gradient-to-br.from-\[\#170B2C\] { background-image: linear-gradient(135deg, #170B2C, #2A124D 50%, #603092); }

/* ---------- footer polish ---------- */
footer .bg-secondary h2 { font-size: clamp(30px, 3.4vw, 50px) !important; white-space: nowrap; }
@media (max-width: 575px) { footer .bg-secondary h2 { white-space: normal; } }
.footer-bottom > div { padding-bottom: 92px; }
@media (max-width: 1023px) { .footer-bottom > div { padding-bottom: 96px; } }
