/* ============================================================================
   DronClick Premium Healthcare SaaS — Refined Design System
   Clean, Minimal, Professional, Fully Responsive
   ============================================================================ */

/* ─────────────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS & VARIABLES
   ───────────────────────────────────────────────────────────────────────── */

:root {
  /* Colors */
  --color-deep-blue: #071935;
  --color-purple: #7f5bff;
  --color-purple-dark: #6b50ff;
  --color-teal: #0fb3a4;
  --color-gray-light: #f4f6ff;
  --color-gray-lighter: #fafbff;
  --color-gray-muted: #52607a;
  --color-text: #0f172a;
  --color-border: rgba(15, 23, 42, 0.08);
  --color-white: #ffffff;

  /* Spacing Scale (8px base) */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 1rem;
  /* 16px */
  --space-md: 1.5rem;
  /* 24px */
  --space-lg: 2rem;
  /* 32px */
  --space-xl: 3rem;
  /* 48px */
  --space-2xl: 4rem;
  /* 64px */
  --space-3xl: 5rem;
  /* 80px */

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  --leading-loose: 1.9;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.35s ease;
}

/* ─────────────────────────────────────────────────────────────────────────
   2. GLOBAL RESET & BASE STYLES
   ───────────────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--color-gray-light) 0%, var(--color-gray-lighter) 100%);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: var(--leading-relaxed);
  font-weight: var(--font-weight-normal);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
}

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

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-gray-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   3. LAYOUT UTILITIES
   ───────────────────────────────────────────────────────────────────────── */

.container {
  width: min(1280px, calc(100% - var(--space-lg)));
  margin: 0 auto;
  padding: 0;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────────────────
   4. HEADER & NAVIGATION
   ───────────────────────────────────────────────────────────────────────── */

.dc-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 0.85rem 0;
  height: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--color-deep-blue);
  flex-shrink: 0;
}

.brandmark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0D3A35, #276152);
  box-shadow: 0 6px 16px rgba(39, 97, 82, 0.22);
  flex-shrink: 0;
}

.dc-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 1.2vw, 1.15rem);
  min-width: 0;
}

.dc-nav a {
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-muted);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.15rem 0;
  text-decoration: none;
}

.dc-nav a:hover,
.dc-nav a.active {
  color: var(--color-deep-blue);
  text-decoration: none;
}

.dc-nav-dropdown {
  position: relative;
  flex-shrink: 0;
}

.dc-nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-muted);
  position: relative;
  white-space: nowrap;
  padding: 0.15rem 0;
  text-decoration: none;
}

.dc-nav-dropdown-toggle.dropdown-toggle::after {
  display: none;
}

.dc-nav-dropdown-caret {
  font-size: 0.68em;
  line-height: 1;
  opacity: 0.75;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.dc-nav-dropdown-toggle:hover,
.dc-nav-dropdown-toggle.active,
.dc-nav-dropdown.show .dc-nav-dropdown-toggle,
.dc-nav-dropdown:hover .dc-nav-dropdown-toggle {
  color: var(--color-deep-blue);
}

.dc-nav-dropdown-toggle:hover .dc-nav-dropdown-caret,
.dc-nav-dropdown-toggle.active .dc-nav-dropdown-caret,
.dc-nav-dropdown.show .dc-nav-dropdown-toggle .dc-nav-dropdown-caret,
.dc-nav-dropdown:hover .dc-nav-dropdown-caret {
  opacity: 1;
}

.dc-nav-dropdown-toggle:hover .dc-nav-dropdown-caret,
.dc-nav-dropdown.show .dc-nav-dropdown-toggle .dc-nav-dropdown-caret,
.dc-nav-dropdown:hover .dc-nav-dropdown-caret {
  transform: rotate(180deg);
}

.dc-nav-dropdown-menu {
  margin-top: 0.55rem;
  padding: 0.45rem 0;
  min-width: 13rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

/* Prevent nav link underline (::after) from bleeding outside the dropdown panel */
.dc-nav .dropdown-item::after,
.dc-nav-dropdown-menu .dropdown-item::after {
  display: none !important;
}

.dc-nav-dropdown-menu .dropdown-item {
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-muted);
  padding: 0.55rem 1rem;
  position: relative;
  border: none;
  background: transparent;
}

.dc-nav-dropdown-menu .dropdown-item:hover,
.dc-nav-dropdown-menu .dropdown-item:focus,
.dc-nav-dropdown-menu .dropdown-item.active {
  background: rgba(15, 179, 164, 0.08);
  color: var(--color-deep-blue);
}

.dc-nav-dropdown-menu .dropdown-item.active {
  font-weight: var(--font-weight-semibold);
}

/* Pharmacy listing CTA */
.pharmacy-register-banner {
  background: linear-gradient(135deg, rgba(15, 179, 164, 0.12), rgba(15, 58, 53, 0.06));
  border: 1px solid rgba(15, 179, 164, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pharmacy-register-banner h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--color-deep-blue);
}

.pharmacy-register-banner p {
  margin: 0;
  color: var(--color-gray-muted);
  font-size: 0.92rem;
}

@media (min-width: 992px) {

  .dc-nav-dropdown:hover .dc-nav-dropdown-menu,
  .dc-nav-dropdown:focus-within .dc-nav-dropdown-menu {
    display: block;
  }

  .dc-nav-dropdown-menu {
    margin-top: 0;
    top: calc(100% + 0.55rem);
  }

  .dc-nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.55rem;
    left: 0;
    right: 0;
    height: 0.55rem;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-deep-blue);
  font-size: 1.35rem;
  cursor: pointer;
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header-actions .nav-toggle {
  margin-left: 0.15rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   5. BUTTONS
   ───────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  border: none;
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
  color: var(--color-white);
  box-shadow: 0 12px 30px rgba(125, 91, 255, 0.25);
}

.btn.primary:hover {
  box-shadow: 0 16px 40px rgba(125, 91, 255, 0.35);
}

.btn.ghost {
  background: var(--color-white);
  color: var(--color-deep-blue);
  border: 1px solid var(--color-border);
}

.btn.ghost:hover {
  background: var(--color-gray-lighter);
  border-color: rgba(15, 23, 42, 0.12);
}

.btn.text {
  background: transparent;
  color: var(--color-purple);
  padding: 0.5rem 1rem;
}

.btn.text:hover {
  background: rgba(125, 91, 255, 0.08);
}

/* ─────────────────────────────────────────────────────────────────────────
   6. HERO SECTION
   ───────────────────────────────────────────────────────────────────────── */

.hero {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-copy h1 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  color: var(--color-deep-blue);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--color-gray-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  color: var(--color-gray-muted);
  font-size: 0.9rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   7. BADGE & PILL STYLES
   ───────────────────────────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(125, 91, 255, 0.1);
  color: var(--color-purple);
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(15, 179, 164, 0.1);
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────────────────
   8. CARD COMPONENTS
   ───────────────────────────────────────────────────────────────────────── */

.glass-card,
.card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.glass-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(125, 91, 255, 0.12);
}

.card-header {
  margin-bottom: var(--space-md);
}

.card-header h3 {
  margin-bottom: var(--space-xs);
  color: var(--color-deep-blue);
}

.card-body {
  color: var(--color-gray-muted);
  line-height: var(--leading-relaxed);
}

.card-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

/* ─────────────────────────────────────────────────────────────────────────
   9. GRID LAYOUTS
   ───────────────────────────────────────────────────────────────────────── */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* ─────────────────────────────────────────────────────────────────────────
   10. FEATURE SECTION
   ───────────────────────────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.feature-item {
  padding: var(--space-lg);
}

.feature-item h3 {
  color: var(--color-deep-blue);
  margin-bottom: var(--space-md);
}

.feature-item p {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   11. PRICING SECTION
   ───────────────────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(125, 91, 255, 0.08), rgba(111, 78, 255, 0.05));
  border-color: rgba(125, 91, 255, 0.15);
  transform: scale(1.02);
}

.pricing-header {
  margin-bottom: var(--space-md);
}

.pricing-header h3 {
  color: var(--color-deep-blue);
  margin-bottom: var(--space-xs);
}

.price {
  font-size: 2.5rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-deep-blue);
  margin: var(--space-md) 0;
}

.price-unit {
  font-size: 0.95rem;
  color: var(--color-gray-muted);
  font-weight: var(--font-weight-normal);
}

.pricing-features {
  list-style: none;
  margin: var(--space-lg) 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-gray-muted);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-teal);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

.pricing-footer {
  margin-top: auto;
  padding-top: var(--space-md);
}

/* ─────────────────────────────────────────────────────────────────────────
   12. TESTIMONIAL SECTION
   ───────────────────────────────────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  color: var(--color-gray-muted);
  font-style: italic;
  margin-bottom: var(--space-md);
  flex-grow: 1;
  line-height: var(--leading-relaxed);
}

.testimonial-author {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.author-name {
  font-weight: var(--font-weight-bold);
  color: var(--color-deep-blue);
  margin-bottom: var(--space-xs);
}

.author-role {
  font-size: 0.9rem;
  color: var(--color-gray-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   13. STATS SECTION
   ───────────────────────────────────────────────────────────────────────── */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  padding: var(--space-lg);
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-purple);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-gray-muted);
  font-weight: var(--font-weight-medium);
}

/* ─────────────────────────────────────────────────────────────────────────
   14. FORM ELEMENTS
   ───────────────────────────────────────────────────────────────────────── */

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(125, 91, 255, 0.1);
}

.form-select {
  width: 100%;
  padding: 0.9rem 2.5rem 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(125, 91, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: auto;
  font-family: var(--font-family);
}

/* ─────────────────────────────────────────────────────────────────────────
   15. CTA & HERO PANELS
   ───────────────────────────────────────────────────────────────────────── */

.cta-panel {
  background: linear-gradient(135deg, rgba(125, 91, 255, 0.08), rgba(15, 179, 164, 0.04));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
}

.cta-panel h2 {
  color: var(--color-deep-blue);
  margin-bottom: var(--space-md);
}

.cta-panel p {
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────────────────────────────────────── */

.footer {
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(13, 58, 53, 0.05);
  padding: var(--space-3xl) 0 var(--space-2xl);
  margin-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.footer-brandmark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0D3A35, #276152);
  flex-shrink: 0;
  margin-top: var(--space-xs);
}

.footer-brand-text strong {
  display: block;
  color: var(--color-deep-blue);
  margin-bottom: var(--space-xs);
  font-weight: var(--font-weight-bold);
}

.footer-brand-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: var(--leading-relaxed);
  color: var(--color-gray-muted);
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.footer-section h4 {
  color: var(--color-deep-blue);
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section a {
  font-size: 0.9rem;
  color: var(--color-gray-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--color-teal);
  text-decoration: none;
}

.footer-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-lg) 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-gray-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   17. INTEGRATION & SPECIAL SECTIONS
   ───────────────────────────────────────────────────────────────────────── */

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.integration-item {
  padding: var(--space-lg);
  text-align: left;
}

.integration-item h3 {
  color: var(--color-deep-blue);
  margin-bottom: var(--space-xs);
  font-size: 1.15rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   18. DASHBOARD MOCKUP (Hero Card)
   ───────────────────────────────────────────────────────────────────────── */

.dashboard-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(125, 91, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.dashboard-title h3 {
  color: var(--color-deep-blue);
  margin: 0;
  font-size: 1.1rem;
}

.dashboard-subtitle {
  font-size: 0.9rem;
  color: var(--color-gray-muted);
  margin: var(--space-xs) 0 0;
}

.dashboard-content {
  display: grid;
  gap: var(--space-lg);
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
}

.metric-value {
  font-size: 2.2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-deep-blue);
}

.metric-label {
  font-size: 0.95rem;
  color: var(--color-gray-muted);
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  align-items: flex-end;
  height: 140px;
}

.bar {
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--color-purple), var(--color-purple-dark));
  min-height: 20px;
}

/* ─────────────────────────────────────────────────────────────────────────
   19. SECTION BACKGROUNDS
   ───────────────────────────────────────────────────────────────────────── */

.bg-gradient-light {
  background: linear-gradient(180deg, rgba(125, 91, 255, 0.04), transparent);
}

.bg-gradient-subtle {
  background: linear-gradient(180deg, #ffffff, var(--color-gray-lighter));
}

/* ─────────────────────────────────────────────────────────────────────────
   20. RESPONSIVE DESIGN — TABLET (1024px)
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {

  .hero-grid,
  .grid-4,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

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

  .dc-nav {
    gap: 0.75rem;
  }

  .logo-text small {
    display: none;
  }

  .header-actions .btn {
    padding: 0.72rem 1.15rem;
    font-size: 0.86rem;
  }

  .section {
    padding: var(--space-2xl) 0;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   21. RESPONSIVE DESIGN — MOBILE (768px)
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .pricing-grid,
  .testimonials-grid,
  .feature-grid,
  .integration-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 0.65rem 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .dc-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 0.35rem;
  }

  .dc-nav.is-open {
    display: flex;
  }

  .dc-nav a {
    padding: 0.75rem 0.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(13, 58, 53, 0.06);
  }

  .dc-nav a::after {
    display: none;
  }

  .dc-nav-dropdown {
    width: 100%;
  }

  .dc-nav-dropdown-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(13, 58, 53, 0.06);
  }

  .dc-nav-dropdown-toggle::before {
    display: none;
  }

  .dc-nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none;
    width: 100%;
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(15, 179, 164, 0.04);
  }

  .dc-nav-dropdown-menu .dropdown-item {
    padding: 0.65rem 1rem 0.65rem 1.25rem;
    border-bottom: 1px solid rgba(13, 58, 53, 0.06);
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    gap: 0.45rem;
  }

  .header-actions .btn-find-doctor {
    display: none;
  }

  .header-actions .btn {
    flex: 0 1 auto;
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
  }

  .header-actions .btn.primary span,
  .header-actions .btn.primary {
    white-space: nowrap;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .container {
    width: min(100%, calc(100% - var(--space-md)));
  }

  .hero {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-panel {
    padding: var(--space-xl);
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .glass-card,
  .card {
    padding: var(--space-md);
  }

  .dashboard-card {
    padding: var(--space-md);
  }

  .dashboard-header {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .chart-bars {
    height: 120px;
  }

  .stat-value {
    font-size: 2rem;
  }

  .price {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;
  }

  .footer-brand-text {
    text-align: left;
  }

  .footer-section {
    text-align: left;
  }

  .footer-section h4 {
    margin: 0;
  }

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

  .integration-grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   22. SMALL MOBILE (480px)
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .container {
    width: min(100%, calc(100% - 1rem));
  }

  .nav-toggle,
  .dc-nav a {
    font-size: 0.85rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.9rem;
  }

  .pill {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }

  .card,
  .glass-card {
    padding: var(--space-md);
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .chart-bars {
    gap: 8px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   23. ACCESSIBILITY & PRINT
   ───────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {

  .dc-header,
  .footer {
    display: none;
  }
}

/* Visual refresh: Bootstrap-icon driven marketing pages, no Vite/React required */
.brandmark,
.footer-brandmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.btn {
  gap: .55rem;
  text-decoration: none;
}

.dc-hero {
  overflow: hidden;
}

.dc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(15, 179, 164, .1), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(127, 91, 255, .18), transparent 34rem);
}

.dc-hero .container {
  position: relative;
  z-index: 1;
}

.trust-row,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.trust-row span,
.feature-list span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .82);
  color: var(--color-deep-blue);
  font-weight: 700;
  font-size: .86rem;
}

.trust-row i,
.feature-list i {
  color: var(--color-teal);
}

.hero-visual {
  position: relative;
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(7, 25, 53, .96), rgba(36, 28, 92, .96));
  box-shadow: 0 28px 70px rgba(7, 25, 53, .28);
  color: #fff;
}

.visual-toolbar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .25rem 1rem;
  color: rgba(255, 255, 255, .76);
  font-size: .78rem;
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6b6b;
}

.visual-toolbar span:nth-child(2) {
  background: #ffd166;
}

.visual-toolbar span:nth-child(3) {
  background: #06d6a0;
  margin-right: .5rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr;
  gap: .85rem;
}

.visual-card,
.queue-card {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .09);
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.visual-card-large {
  grid-row: span 2;
}

.visual-icon,
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7f5bff, #4f46e5);
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: .85rem;
}

.visual-icon.mint,
.icon-box.teal {
  background: linear-gradient(135deg, #0fb3a4, #14b8a6);
}

.visual-icon.amber,
.icon-box.orange {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.icon-box.violet {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.visual-card small,
.queue-item small,
.panel-header small,
.appointment-row small {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
}

.visual-card strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: .8rem;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: .55rem;
  height: 115px;
  margin-top: 1rem;
}

.mini-chart i {
  flex: 1;
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #74f2ce, #7f5bff);
}

.queue-card {
  grid-column: 1 / -1;
  display: grid;
  gap: .7rem;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.queue-item.active {
  background: rgba(20, 184, 166, .18);
}

.queue-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #80ffdb;
}

.queue-item strong {
  display: block;
  color: #fff;
  font-size: .92rem;
}

.floating-badge {
  position: absolute;
  right: -1rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--color-deep-blue);
  box-shadow: 0 18px 38px rgba(7, 25, 53, .22);
  font-weight: 800;
  font-size: .86rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading h2 {
  color: var(--color-deep-blue);
  margin: 1rem 0 .75rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.workflow-grid,
.rich-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-card,
.rich-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.workflow-card:hover,
.rich-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.workflow-card h3,
.rich-card h3 {
  color: var(--color-deep-blue);
  font-size: 1.1rem;
  margin: .25rem 0 .65rem;
}

.workflow-card p,
.rich-card p {
  margin: 0;
  font-size: .93rem;
}

.visual-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(244, 246, 255, .95)),
    radial-gradient(circle at 12% 20%, rgba(15, 179, 164, .12), transparent 24rem);
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.split-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.split-feature-visual img {
  width: min(100%, 520px);
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(13, 58, 53, 0.12);
}

/* Telemedicine spotlight */
.telemedicine-spotlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(5, 168, 143, 0.12), transparent 26rem),
    radial-gradient(circle at 92% 10%, rgba(99, 102, 241, 0.14), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7fbfb 100%);
}

.telemedicine-spotlight .pill--telemedicine {
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.14), rgba(99, 102, 241, 0.12));
  border-color: rgba(5, 168, 143, 0.22);
  color: #0d3a35;
  font-weight: 800;
}

.telemedicine-spotlight .feature-list--telemedicine span {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 58, 53, 0.1);
  box-shadow: 0 6px 18px rgba(13, 58, 53, 0.05);
}

.telemedicine-spotlight__cta {
  box-shadow: 0 14px 32px rgba(5, 168, 143, 0.28);
}

.telemedicine-showcase {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.telemedicine-showcase__glow {
  position: absolute;
  inset: 8% 4%;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.22), rgba(99, 102, 241, 0.2));
  filter: blur(40px);
  z-index: 0;
}

.telemedicine-showcase__orb {
  position: absolute;
  border-radius: 999px;
  z-index: 0;
}

.telemedicine-showcase__orb--1 {
  width: 120px;
  height: 120px;
  top: 6%;
  right: 8%;
  background: rgba(99, 102, 241, 0.16);
}

.telemedicine-showcase__orb--2 {
  width: 88px;
  height: 88px;
  bottom: 10%;
  left: 4%;
  background: rgba(5, 168, 143, 0.18);
}

.telemedicine-showcase__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #071935 0%, #1a1f4b 52%, #0d3a35 100%);
  box-shadow: 0 28px 70px rgba(7, 25, 53, 0.32);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.telemedicine-showcase__topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.telemedicine-showcase__topbar strong {
  margin-left: 0.35rem;
  flex: 1;
  font-size: 0.82rem;
  color: #fff;
}

.telemedicine-showcase__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff6b6b;
}

.telemedicine-showcase__dot:nth-child(2) {
  background: #ffd166;
}

.telemedicine-showcase__dot:nth-child(3) {
  background: #06d6a0;
}

.telemedicine-showcase__live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.telemedicine-showcase__live i {
  color: #ef4444;
  animation: telemedicine-pulse 1.4s ease-in-out infinite;
}

.telemedicine-showcase__call {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.telemedicine-showcase__participant {
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.telemedicine-showcase__participant--doctor {
  background: linear-gradient(180deg, rgba(5, 168, 143, 0.22), rgba(255, 255, 255, 0.06));
}

.telemedicine-showcase__participant--patient {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.22), rgba(255, 255, 255, 0.06));
}

.telemedicine-showcase__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.55rem;
  border-radius: 18px;
  font-size: 1.5rem;
}

.telemedicine-showcase__avatar--doctor {
  background: linear-gradient(135deg, #05a88f, #0d3a35);
  box-shadow: 0 10px 24px rgba(5, 168, 143, 0.28);
}

.telemedicine-showcase__avatar--patient {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.28);
}

.telemedicine-showcase__participant strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}

.telemedicine-showcase__participant small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.telemedicine-showcase__vitals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.telemedicine-showcase__vital {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #a7f3d0;
  white-space: nowrap;
}

.telemedicine-showcase__wave {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 28px;
  flex: 1;
}

.telemedicine-showcase__wave span {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #05a88f, #6366f1);
  animation: telemedicine-wave 1.1s ease-in-out infinite;
}

.telemedicine-showcase__wave span:nth-child(1) { height: 38%; animation-delay: 0s; }
.telemedicine-showcase__wave span:nth-child(2) { height: 72%; animation-delay: 0.1s; }
.telemedicine-showcase__wave span:nth-child(3) { height: 52%; animation-delay: 0.2s; }
.telemedicine-showcase__wave span:nth-child(4) { height: 88%; animation-delay: 0.3s; }
.telemedicine-showcase__wave span:nth-child(5) { height: 48%; animation-delay: 0.4s; }
.telemedicine-showcase__wave span:nth-child(6) { height: 66%; animation-delay: 0.5s; }

.telemedicine-showcase__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.telemedicine-showcase__toolbar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

.telemedicine-showcase__toolbar span.is-active {
  background: rgba(5, 168, 143, 0.28);
  border-color: rgba(5, 168, 143, 0.4);
  color: #a7f3d0;
}

.telemedicine-showcase__toolbar span.is-end {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.telemedicine-showcase__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.telemedicine-showcase__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 58, 53, 0.08);
  box-shadow: 0 14px 32px rgba(13, 58, 53, 0.12);
  min-width: 148px;
  pointer-events: auto;
}

.telemedicine-showcase__chip strong {
  display: block;
  color: #0d3a35;
  font-size: 0.82rem;
  line-height: 1.2;
}

.telemedicine-showcase__chip small {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
}

.telemedicine-showcase__chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 1rem;
  flex-shrink: 0;
}

.telemedicine-showcase__chip--rx {
  top: 8%;
  left: -2%;
}

.telemedicine-showcase__chip--rx .telemedicine-showcase__chip-icon {
  background: rgba(5, 168, 143, 0.14);
  color: #0d3a35;
}

.telemedicine-showcase__chip--secure {
  right: -2%;
  top: 42%;
}

.telemedicine-showcase__chip--secure .telemedicine-showcase__chip-icon {
  background: rgba(99, 102, 241, 0.14);
  color: #4338ca;
}

.telemedicine-showcase__chip--clock {
  left: 6%;
  bottom: 4%;
}

.telemedicine-showcase__chip--clock .telemedicine-showcase__chip-icon {
  background: rgba(251, 191, 36, 0.18);
  color: #b45309;
}

@keyframes telemedicine-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

@keyframes telemedicine-wave {
  0%, 100% { transform: scaleY(0.75); opacity: 0.75; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1024px) {
  .telemedicine-showcase {
    min-height: auto;
    margin-top: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0;
  }

  .telemedicine-showcase__panel {
    width: 100%;
  }

  .telemedicine-showcase__chips {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.85rem;
    pointer-events: auto;
  }

  .telemedicine-showcase__chip {
    position: static;
    min-width: 0;
    padding: 0.55rem 0.65rem;
  }

  .telemedicine-showcase__chip strong {
    font-size: 0.76rem;
  }

  .telemedicine-showcase__chip small {
    font-size: 0.62rem;
  }
}

@media (max-width: 640px) {
  .telemedicine-showcase__chips {
    grid-template-columns: 1fr;
  }
}

/* UI showcase panel (shared marketing mock UI) */
.ui-showcase,
.telemedicine-showcase {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ui-showcase__glow,
.telemedicine-showcase__glow {
  position: absolute;
  inset: 8% 4%;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.22), rgba(99, 102, 241, 0.2));
  filter: blur(40px);
  z-index: 0;
}

.ui-showcase__orb,
.telemedicine-showcase__orb {
  position: absolute;
  border-radius: 999px;
  z-index: 0;
}

.ui-showcase__orb--1,
.telemedicine-showcase__orb--1 {
  width: 120px;
  height: 120px;
  top: 6%;
  right: 8%;
  background: rgba(99, 102, 241, 0.16);
}

.ui-showcase__orb--2,
.telemedicine-showcase__orb--2 {
  width: 88px;
  height: 88px;
  bottom: 10%;
  left: 4%;
  background: rgba(5, 168, 143, 0.18);
}

.ui-showcase__panel,
.telemedicine-showcase__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #071935 0%, #1a1f4b 52%, #0d3a35 100%);
  box-shadow: 0 28px 70px rgba(7, 25, 53, 0.32);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-showcase__topbar,
.telemedicine-showcase__topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.ui-showcase__topbar strong,
.telemedicine-showcase__topbar strong {
  margin-left: 0.35rem;
  flex: 1;
  font-size: 0.82rem;
  color: #fff;
}

.ui-showcase__dot,
.telemedicine-showcase__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff6b6b;
}

.ui-showcase__dot:nth-child(2),
.telemedicine-showcase__dot:nth-child(2) {
  background: #ffd166;
}

.ui-showcase__dot:nth-child(3),
.telemedicine-showcase__dot:nth-child(3) {
  background: #06d6a0;
}

.ui-showcase__status,
.telemedicine-showcase__live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ui-showcase__status i,
.telemedicine-showcase__live i {
  color: #ef4444;
  animation: telemedicine-pulse 1.4s ease-in-out infinite;
}

.ui-showcase__call,
.telemedicine-showcase__call {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ui-showcase__participant,
.telemedicine-showcase__participant {
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.ui-showcase__participant--doctor,
.telemedicine-showcase__participant--doctor {
  background: linear-gradient(180deg, rgba(5, 168, 143, 0.22), rgba(255, 255, 255, 0.06));
}

.ui-showcase__participant--patient,
.telemedicine-showcase__participant--patient {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.22), rgba(255, 255, 255, 0.06));
}

.ui-showcase__avatar,
.telemedicine-showcase__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.55rem;
  border-radius: 18px;
  font-size: 1.5rem;
}

.ui-showcase__avatar--doctor,
.telemedicine-showcase__avatar--doctor {
  background: linear-gradient(135deg, #05a88f, #0d3a35);
  box-shadow: 0 10px 24px rgba(5, 168, 143, 0.28);
}

.ui-showcase__avatar--patient,
.telemedicine-showcase__avatar--patient {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.28);
}

.ui-showcase__avatar--clinic {
  background: linear-gradient(135deg, #6366f1, #312e81);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.24);
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 14px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ui-showcase__participant strong,
.telemedicine-showcase__participant strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}

.ui-showcase__participant small,
.telemedicine-showcase__participant small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.ui-showcase__vitals,
.telemedicine-showcase__vitals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-showcase__vital,
.telemedicine-showcase__vital {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #a7f3d0;
  white-space: nowrap;
}

.ui-showcase__wave,
.telemedicine-showcase__wave {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 28px;
  flex: 1;
}

.ui-showcase__wave--wide {
  margin-top: 0.75rem;
  height: 36px;
}

.ui-showcase__wave span,
.telemedicine-showcase__wave span {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #05a88f, #6366f1);
  animation: telemedicine-wave 1.1s ease-in-out infinite;
}

.ui-showcase__wave span:nth-child(1),
.telemedicine-showcase__wave span:nth-child(1) { height: 38%; animation-delay: 0s; }
.ui-showcase__wave span:nth-child(2),
.telemedicine-showcase__wave span:nth-child(2) { height: 72%; animation-delay: 0.1s; }
.ui-showcase__wave span:nth-child(3),
.telemedicine-showcase__wave span:nth-child(3) { height: 52%; animation-delay: 0.2s; }
.ui-showcase__wave span:nth-child(4),
.telemedicine-showcase__wave span:nth-child(4) { height: 88%; animation-delay: 0.3s; }
.ui-showcase__wave span:nth-child(5),
.telemedicine-showcase__wave span:nth-child(5) { height: 48%; animation-delay: 0.4s; }
.ui-showcase__wave span:nth-child(6),
.telemedicine-showcase__wave span:nth-child(6) { height: 66%; animation-delay: 0.5s; }
.ui-showcase__wave span:nth-child(7) { height: 58%; animation-delay: 0.15s; }
.ui-showcase__wave span:nth-child(8) { height: 82%; animation-delay: 0.35s; }

.ui-showcase__toolbar,
.telemedicine-showcase__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.ui-showcase__toolbar span,
.telemedicine-showcase__toolbar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

.ui-showcase__toolbar span.is-active,
.telemedicine-showcase__toolbar span.is-active {
  background: rgba(5, 168, 143, 0.28);
  border-color: rgba(5, 168, 143, 0.4);
  color: #a7f3d0;
}

.ui-showcase__toolbar span.is-end,
.telemedicine-showcase__toolbar span.is-end {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.ui-showcase__chips,
.telemedicine-showcase__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.ui-showcase__chip,
.telemedicine-showcase__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 58, 53, 0.08);
  box-shadow: 0 14px 32px rgba(13, 58, 53, 0.12);
  min-width: 148px;
  pointer-events: auto;
}

.ui-showcase__chip strong,
.telemedicine-showcase__chip strong {
  display: block;
  color: #0d3a35;
  font-size: 0.82rem;
  line-height: 1.2;
}

.ui-showcase__chip small,
.telemedicine-showcase__chip small {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
}

.ui-showcase__chip-icon,
.telemedicine-showcase__chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 1rem;
  flex-shrink: 0;
}

.ui-showcase__chip--teal,
.telemedicine-showcase__chip--rx {
  top: 8%;
  left: -2%;
}

.ui-showcase__chip--teal .ui-showcase__chip-icon,
.telemedicine-showcase__chip--rx .telemedicine-showcase__chip-icon {
  background: rgba(5, 168, 143, 0.14);
  color: #0d3a35;
}

.ui-showcase__chip--purple,
.telemedicine-showcase__chip--secure {
  right: -2%;
  top: 42%;
}

.ui-showcase__chip--purple .ui-showcase__chip-icon,
.telemedicine-showcase__chip--secure .telemedicine-showcase__chip-icon {
  background: rgba(99, 102, 241, 0.14);
  color: #4338ca;
}

.ui-showcase__chip--amber,
.telemedicine-showcase__chip--clock {
  left: 6%;
  bottom: 4%;
}

.ui-showcase__chip--amber .ui-showcase__chip-icon,
.telemedicine-showcase__chip--clock .telemedicine-showcase__chip-icon {
  background: rgba(251, 191, 36, 0.18);
  color: #b45309;
}

/* UI showcase inner variants */
.ui-showcase__body {
  min-height: 180px;
}

.ui-showcase__list {
  display: grid;
  gap: 0.65rem;
}

.ui-showcase__list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-showcase__list-item strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.2;
}

.ui-showcase__list-item small {
  display: block;
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
}

.ui-showcase__list-item em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a7f3d0;
  background: rgba(5, 168, 143, 0.18);
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
}

.ui-showcase__tiles {
  display: grid;
  gap: 0.65rem;
}

.ui-showcase__tiles--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ui-showcase__tiles--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ui-showcase__tiles--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ui-showcase__tile {
  padding: 0.85rem 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.ui-showcase__tile i {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: #a7f3d0;
}

.ui-showcase__tile strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.2;
}

.ui-showcase__tile small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
}

.ui-showcase__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.ui-showcase__slots span {
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.ui-showcase__slots span.is-active {
  background: rgba(5, 168, 143, 0.28);
  border-color: rgba(5, 168, 143, 0.45);
  color: #a7f3d0;
}

.ui-showcase__note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
}

.ui-showcase__chat {
  display: grid;
  gap: 0.55rem;
}

.ui-showcase__bubble {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.ui-showcase__bubble small {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.ui-showcase__bubble--them {
  justify-self: start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-showcase__bubble--me {
  justify-self: end;
  background: rgba(5, 168, 143, 0.24);
  border: 1px solid rgba(5, 168, 143, 0.35);
}

.ui-showcase__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.ui-showcase__tags span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #ddd6fe;
}

.ui-showcase__match {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.22), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ui-showcase__match i {
  font-size: 1.6rem;
  color: #a7f3d0;
}

.ui-showcase__match strong {
  display: block;
  font-size: 0.86rem;
}

.ui-showcase__match small {
  display: block;
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
}

.ui-showcase__articles {
  display: grid;
  gap: 0.65rem;
}

.ui-showcase__article {
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-showcase__article strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.25;
}

.ui-showcase__article small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
}

.ui-showcase__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.ui-showcase__plan {
  padding: 0.75rem 0.55rem;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-showcase__plan.is-featured {
  background: linear-gradient(180deg, rgba(5, 168, 143, 0.28), rgba(255, 255, 255, 0.08));
  border-color: rgba(5, 168, 143, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(5, 168, 143, 0.18);
}

.ui-showcase__plan strong {
  display: block;
  font-size: 0.82rem;
}

.ui-showcase__plan small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
}

.ui-showcase__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  text-align: center;
}

.ui-showcase__stats strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.1;
}

.ui-showcase__stats small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
}

.ui-showcase__dashboard {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.65rem;
}

.ui-showcase__dash-card {
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-showcase__dash-card.is-large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ui-showcase__dash-card small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  margin-bottom: 0.25rem;
}

.ui-showcase__dash-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.ui-showcase__progress {
  height: 8px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ui-showcase__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #05a88f, #6366f1);
}

.ui-showcase--doctors .ui-showcase__panel {
  background: linear-gradient(145deg, #071935 0%, #1e3a5f 55%, #0d3a35 100%);
}

.ui-showcase--pharmacy .ui-showcase__panel {
  background: linear-gradient(145deg, #1a1033 0%, #312e81 52%, #0d3a35 100%);
}

.ui-showcase--blog .ui-showcase__panel {
  background: linear-gradient(145deg, #071935 0%, #4338ca 55%, #0d3a35 100%);
}

.ui-showcase--pricing .ui-showcase__panel {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #0d3a35 100%);
}

/* Premium page hero */
.page-hero-premium {
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(circle at 6% 18%, rgba(5, 168, 143, 0.14), transparent 26rem),
    radial-gradient(circle at 94% 8%, rgba(99, 102, 241, 0.16), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7fbfb 100%);
}

.page-hero-premium__copy {
  position: relative;
  z-index: 1;
}

.page-hero-premium .pill--premium {
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.14), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(5, 168, 143, 0.22);
  color: #0d3a35;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(13, 58, 53, 0.06);
}

.page-hero-premium h1 {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page-hero-premium .btn-glow {
  box-shadow: 0 14px 32px rgba(5, 168, 143, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-hero-premium .btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(5, 168, 143, 0.34);
}

.page-hero-premium--stacked .page-hero-grid {
  grid-template-columns: 1fr;
}

.page-hero-premium--stacked .page-hero-premium__copy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero-premium--stacked .page-hero-premium__copy p {
  margin-left: auto;
  margin-right: auto;
}

.page-hero-premium--stacked .hero-actions {
  justify-content: center;
}

.page-hero-premium--compact {
  padding: 2.25rem 0 1rem;
}

.page-hero-premium--compact-showcase {
  padding: 2rem 0 1.25rem;
}

.page-hero-premium--compact-showcase .page-hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
}

.page-hero-premium--compact-showcase .page-hero-premium__copy h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin-bottom: 0.55rem;
}

.page-hero-premium--compact-showcase .page-hero-premium__copy p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.ui-showcase--compact {
  min-height: 0;
  padding: 0;
  align-items: stretch;
}

.ui-showcase--compact .ui-showcase__glow,
.ui-showcase--compact .ui-showcase__orb {
  display: none;
}

.ui-showcase--compact .ui-showcase__panel {
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  padding: 0.7rem;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(7, 25, 53, 0.22);
}

.ui-showcase--compact .ui-showcase__topbar {
  padding-bottom: 0.55rem;
  font-size: 0.72rem;
}

.ui-showcase--compact .ui-showcase__topbar strong {
  font-size: 0.74rem;
}

.ui-showcase--compact .ui-showcase__status {
  font-size: 0.62rem;
  padding: 0.18rem 0.45rem;
}

.ui-showcase--compact .ui-showcase__body {
  padding: 0.15rem 0;
}

.ui-showcase--compact .ui-showcase__slots {
  gap: 0.35rem;
}

.ui-showcase--compact .ui-showcase__slots span {
  font-size: 0.68rem;
  padding: 0.28rem 0.5rem;
}

.ui-showcase--compact .ui-showcase__note {
  margin-top: 0.45rem;
  font-size: 0.68rem;
}

.ui-showcase--compact .ui-showcase__toolbar {
  margin-top: 0.45rem;
  gap: 0.35rem;
}

.ui-showcase--compact .ui-showcase__toolbar span {
  width: 28px;
  height: 28px;
  font-size: 0.72rem;
}

.ui-showcase--compact .ui-showcase__chips {
  display: none;
}

.page-hero-premium--no-showcase {
  padding: 2.25rem 0 1rem;
}

.page-hero-premium--no-showcase .page-hero-grid {
  grid-template-columns: 1fr;
}

.page-hero-premium--no-showcase .page-hero-premium__copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero-premium--no-showcase .page-hero-premium__copy p {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.page-hero-premium--no-showcase h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 0.65rem;
}

.dc-hero .ui-showcase {
  padding: 0;
}

.dc-hero .hero-copy .pill--premium {
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.14), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(5, 168, 143, 0.22);
  color: #0d3a35;
  font-weight: 800;
}

/* Premium section polish */
.section-premium .section-heading h2 {
  letter-spacing: -0.02em;
}

.section-premium .icon-card,
.section-premium .home-service-item,
.section-premium .doctor-showcase,
.section-premium .quote-card,
.section-premium .metric-box {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.section-premium .icon-card:hover,
.section-premium .home-service-item:hover,
.section-premium .doctor-showcase:hover {
  transform: translateY(-4px);
}

.section-premium .quote-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(13, 58, 53, 0.1);
}

.section-premium .metric-box {
  box-shadow: 0 14px 32px rgba(13, 58, 53, 0.14);
}

.section-premium .metric-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(13, 58, 53, 0.18);
}

@media (max-width: 1024px) {
  .ui-showcase,
  .telemedicine-showcase {
    min-height: auto;
    margin-top: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0;
  }

  .ui-showcase__panel,
  .telemedicine-showcase__panel {
    width: 100%;
  }

  .ui-showcase__chips,
  .telemedicine-showcase__chips {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.85rem;
    pointer-events: auto;
  }

  .ui-showcase__chip,
  .telemedicine-showcase__chip {
    position: static;
    min-width: 0;
    padding: 0.55rem 0.65rem;
  }

  .ui-showcase__chip strong,
  .telemedicine-showcase__chip strong {
    font-size: 0.76rem;
  }

  .ui-showcase__chip small,
  .telemedicine-showcase__chip small {
    font-size: 0.62rem;
  }

  .page-hero-premium .page-hero-grid {
    gap: 2rem;
  }

  .page-hero-premium--compact-showcase .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ui-showcase--compact .ui-showcase__panel {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .ui-showcase__chips,
  .telemedicine-showcase__chips {
    grid-template-columns: 1fr;
  }

  .ui-showcase__plans,
  .ui-showcase__stats,
  .ui-showcase__tiles--3,
  .ui-showcase__tiles--4 {
    grid-template-columns: 1fr 1fr;
  }

  .ui-showcase__dashboard {
    grid-template-columns: 1fr;
  }

  .ui-showcase__dash-card.is-large {
    grid-row: auto;
  }
}

.product-panel {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 420px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 24px 60px rgba(7, 25, 53, .12);
}

.panel-sidebar {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-items: center;
  padding: 1rem;
  background: var(--color-deep-blue);
}

.panel-sidebar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
}

.panel-sidebar span.active {
  background: #fff;
  color: var(--color-purple);
}

.panel-main {
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff, #f8faff);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.panel-header small,
.appointment-row small {
  color: var(--color-gray-muted);
}

.panel-header strong {
  display: block;
  color: var(--color-deep-blue);
  font-size: 1.2rem;
}

.panel-header button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-deep-blue);
}

.appointment-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: .9rem;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  margin-bottom: .8rem;
}

.avatar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(127, 91, 255, .12);
  color: var(--color-purple);
  font-weight: 800;
}

.avatar-chip.green {
  background: rgba(15, 179, 164, .14);
  color: #0f766e;
}

.avatar-chip.purple {
  background: rgba(236, 72, 153, .12);
  color: #be185d;
}

.appointment-row strong {
  display: block;
  color: var(--color-deep-blue);
}

.appointment-row em {
  display: inline-flex;
  justify-content: center;
  border-radius: var(--radius-full);
  padding: .35rem .7rem;
  background: rgba(15, 179, 164, .1);
  color: #0f766e;
  font-style: normal;
  font-weight: 800;
  font-size: .72rem;
}

.feature-copy h2 {
  color: var(--color-deep-blue);
  margin-top: 1rem;
}

.rich-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rich-card>i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: rgba(127, 91, 255, .1);
  color: var(--color-purple);
  font-size: 1.55rem;
}

.icon-stats .stat-item {
  text-align: left;
}

.icon-stats .stat-item>i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: .8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
}

.integrations-showcase .section-heading {
  margin-bottom: 1.5rem;
}

.integration-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .9rem;
}

.integration-strip div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.25rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--color-deep-blue);
  font-weight: 800;
}

.integration-strip i {
  font-size: 1.8rem;
  color: var(--color-purple);
}

.graphic-cta {
  position: relative;
  overflow: hidden;
}

.graphic-cta::after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -70px;
  border-radius: 999px;
  background: rgba(127, 91, 255, .12);
}

.cta-icon-stack {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
}

.cta-icon-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #fff;
  color: var(--color-purple);
  box-shadow: var(--shadow-sm);
  font-size: 1.45rem;
}

@media (max-width: 1024px) {

  .workflow-grid,
  .rich-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-feature {
    grid-template-columns: 1fr;
  }

  .integration-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-visual {
    margin-top: 1rem;
  }

  .visual-grid,
  .workflow-grid,
  .rich-feature-grid,
  .integration-strip {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    position: static;
    margin-top: .9rem;
    width: 100%;
    justify-content: center;
  }

  .product-panel {
    grid-template-columns: 1fr;
  }

  .panel-sidebar {
    flex-direction: row;
    justify-content: center;
  }

  .appointment-row {
    grid-template-columns: 42px 1fr;
  }

  .appointment-row em {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 480px) {

  .trust-row span,
  .feature-list span {
    width: 100%;
  }

  .hero-visual,
  .product-panel,
  .workflow-card,
  .rich-card {
    border-radius: 16px;
  }
}

/* Whole-site visual page system */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(circle at 8% 12%, rgba(15, 179, 164, .12), transparent 24rem),
    radial-gradient(circle at 88% 4%, rgba(127, 91, 255, .18), transparent 28rem),
    linear-gradient(180deg, #fff, #f7f9ff);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.page-hero-grid--single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.pharmacy-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pharmacy-profile-main,
.pharmacy-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.pharmacy-profile-layout .icon-card+.icon-card,
.pharmacy-profile-main>.icon-card:not(:last-child),
.pharmacy-profile-sidebar>.icon-card:not(:last-child) {
  margin-bottom: 0;
}

.pharmacy-stock-table {
  width: 100%;
  border-collapse: collapse;
}

.pharmacy-stock-table th,
.pharmacy-stock-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}

.pharmacy-stock-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-muted);
}

.pharmacy-stock-table td {
  font-size: 0.92rem;
}

.pharmacy-review-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.pharmacy-review-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  .pharmacy-profile-layout {
    grid-template-columns: 1fr;
  }
}

.pharmacy-store-banner {
  width: 100%;
  height: clamp(180px, 34vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eeec 0%, #f5f0e8 100%);
}

.pharmacy-store-banner img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.smart-banner {
  background: linear-gradient(135deg, var(--sb-bg, #0D3A35) 0%, var(--sb-secondary, #276152) 100%);
  color: var(--sb-text, #fff);
  overflow: hidden;
}

.smart-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2.25rem) clamp(1rem, 3vw, 1.75rem);
}

.smart-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.smart-banner__main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.smart-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--sb-text, #fff);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.smart-banner__tagline {
  margin: 0;
  opacity: 0.95;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.5;
}

.smart-banner__offer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.smart-banner__offer-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--sb-accent, #C9A227);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.smart-banner__offer {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
  color: var(--sb-text, #fff);
}

.smart-banner__address {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
  max-width: 100%;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
}

.smart-banner__address i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--sb-accent, #C9A227);
}

.smart-banner__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
}

.smart-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--sb-text, #fff);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.smart-banner__phone:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.smart-banner__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700;
  font-size: 0.88rem;
}

.smart-banner__aside {
  min-width: 0;
}

.smart-banner__panel {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.smart-banner__aside-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.92;
}

.smart-banner__institutions {
  margin-bottom: 0;
}

.smart-banner__institution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.smart-banner__institution {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.02em;
}

.smart-banner__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.smart-banner__list--services {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.smart-banner__list--highlights {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.smart-banner__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.smart-banner__list i {
  color: var(--sb-accent, #C9A227);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .smart-banner__grid {
    grid-template-columns: 1fr;
  }

  .smart-banner__panel {
    padding: 0.95rem;
  }

  .smart-banner__institution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-hero--with-banner {
  padding-top: 2.5rem;
}

/* Pharmacy store hero — info left, original banner right */
.pharmacy-store-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(5, 168, 143, 0.14), transparent 22rem),
    radial-gradient(circle at 88% 8%, rgba(201, 162, 39, 0.12), transparent 20rem),
    linear-gradient(180deg, #fff 0%, #f4faf8 100%);
}

.pharmacy-store-hero--compact {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.pharmacy-store-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pharmacy-store-hero__info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.pharmacy-store-hero__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.pill-pharmacy {
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.16), rgba(17, 44, 87, 0.08));
  border: 1px solid rgba(5, 168, 143, 0.28);
  color: #0d3a35;
  font-weight: 700;
}

.pharmacy-store-hero__offer {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffcc00, #f5a623);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.pharmacy-store-hero__identity {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pharmacy-store-hero__identity h1 {
  margin: 0 0 0.45rem;
  color: var(--color-deep-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.pharmacy-store-hero__address {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  max-width: 36rem;
  color: var(--color-gray-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.pharmacy-store-hero__address i {
  color: #e31e24;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pharmacy-store-hero__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.pharmacy-store-hero__partner,
.pharmacy-store-hero__pharmacist {
  border-radius: 18px;
  padding: 1rem 1.05rem;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pharmacy-store-hero__partner {
  gap: 0.65rem;
  background: linear-gradient(145deg, #0d3a35, #276152);
  color: #fff;
  box-shadow: 0 14px 32px rgba(13, 58, 53, 0.22);
}

.pharmacy-store-hero__partner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
}

.pharmacy-store-hero__call-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0d3a35 !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pharmacy-store-hero__call-store:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #0d3a35;
}

.pharmacy-store-hero__pharmacist {
  gap: 0.55rem;
  background: linear-gradient(180deg, #fff 0%, #f8fcfb 100%);
  border: 1px solid rgba(13, 58, 53, 0.12);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.pharmacy-store-hero__pharmacist-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-muted);
  font-weight: 700;
  line-height: 1;
}

.pharmacy-store-hero__pharmacist-head i {
  color: #0d3a35;
  font-size: 0.95rem;
}

.pharmacy-store-hero__pharmacist-body {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.pharmacy-store-hero__pharmacist-visual {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding-bottom: 0.45rem;
}

.pharmacy-store-hero__pharmacist-photo {
  width: 96px;
  flex: 1 1 auto;
  min-height: 96px;
  max-height: 118px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(13, 58, 53, 0.12);
  box-shadow: 0 4px 14px rgba(13, 58, 53, 0.1);
}

.pharmacy-store-hero__pharmacist-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.12), rgba(13, 58, 53, 0.08));
  color: #0d3a35;
  font-size: 2rem;
}

.pharmacy-store-hero__pharmacist-verified {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(5, 168, 143, 0.25);
  color: #0d3a35;
  font-size: 0.58rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.pharmacy-store-hero__pharmacist-verified i {
  color: #05a88f;
}

.pharmacy-store-hero__pharmacist-info {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  flex: 1;
  min-height: 0;
}

.pharmacy-store-hero__pharmacist-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  line-height: 1.25;
  color: var(--color-gray-muted);
}

.pharmacy-store-hero__pharmacist-row i {
  flex-shrink: 0;
  color: #05a88f;
  font-size: 0.78rem;
}

.pharmacy-store-hero__pharmacist-row strong {
  color: var(--color-deep-blue);
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 700;
}

.pharmacy-store-hero__pharmacist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.pharmacy-store-hero__pharmacist-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.38rem;
  border-radius: 999px;
  background: rgba(13, 58, 53, 0.06);
  border: 1px solid rgba(13, 58, 53, 0.08);
  color: #0d3a35;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.pharmacy-store-hero__pharmacist-tags i {
  color: #05a88f;
  font-size: 0.72rem;
}

.pharmacy-store-hero__contact-pharmacist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: auto;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #05a88f, #0d3a35);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.72rem;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pharmacy-store-hero__contact-pharmacist:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 168, 143, 0.25);
  color: #fff;
}

.pharmacy-store-hero__pharmacist-reg {
  opacity: 0.85;
}

.pharmacy-store-hero__pharmacist-empty {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-gray-muted);
  font-size: 0.88rem;
  flex: 1;
}

.pharmacy-store-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.pharmacy-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pharmacy-hero-badge--sponsored {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(146, 64, 14, 0.15);
}

.pharmacy-hero-badge--featured {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid rgba(30, 64, 175, 0.12);
}

.pharmacy-order-card {
  border: 1px solid rgba(13, 58, 53, 0.1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.pharmacy-order-modal .modal-content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.pharmacy-order-modal .modal-header {
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.1), rgba(13, 58, 53, 0.06));
  border-bottom: 1px solid var(--color-border);
}

.pharmacy-action-btn.w-100 {
  width: 100%;
  justify-content: center;
}

.pharmacy-store-hero__partner-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pharmacy-store-hero__partner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #05a88f, #7c3aed);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pharmacy-store-hero__partner strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.pharmacy-store-hero__partner small {
  display: block;
  margin-top: 0.15rem;
  opacity: 0.82;
  font-size: 0.82rem;
}

.pharmacy-store-hero__partner-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pharmacy-store-hero__partner-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.38rem 0.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1.15;
  transition: background 0.15s ease, transform 0.15s ease;
}

.pharmacy-store-hero__partner-phone:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.pharmacy-store-hero__partner-phone i {
  font-size: 0.82rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.pharmacy-store-hero__partner-phone span {
  white-space: nowrap;
}

.pharmacy-store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pharmacy-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pharmacy-action-btn--primary {
  background: linear-gradient(135deg, #05a88f, #0d3a35);
  color: #fff;
  box-shadow: 0 8px 22px rgba(5, 168, 143, 0.28);
}

.pharmacy-action-btn--review {
  background: linear-gradient(135deg, #ffcc00, #f5a623);
  color: #1a1a1a;
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.28);
}

.pharmacy-action-btn--order {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: #fff;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.28);
}

.pharmacy-action-btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.pharmacy-action-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
}

.pharmacy-action-btn:hover {
  transform: translateY(-2px);
}

.pharmacy-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.pharmacy-section-head h3,
.pharmacy-section-head h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
}

.pharmacy-about-card,
.pharmacy-reviews-card,
.pharmacy-medicines-card,
.pharmacy-connect-card {
  border: 1px solid rgba(13, 58, 53, 0.1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.pharmacy-rating-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.14), rgba(5, 168, 143, 0.08));
}

.pharmacy-rating-summary__score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-deep-blue);
  line-height: 1;
}

.pharmacy-rating-summary__stars,
.pharmacy-review-stars {
  color: #f5a623;
  letter-spacing: 0.05em;
}

.pharmacy-review-item {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--color-border);
}

.pharmacy-review-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pharmacy-review-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.pharmacy-medicine-count-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(5, 168, 143, 0.12);
  color: #0d3a35;
  font-size: 0.78rem;
  font-weight: 700;
}

.pharmacy-medicine-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.08), rgba(13, 58, 53, 0.04));
  border: 1px dashed rgba(13, 58, 53, 0.16);
}

.pharmacy-medicine-teaser p {
  margin: 0;
  color: var(--color-gray-muted);
}

.pharmacy-medicine-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  color: var(--color-gray-muted);
}

.pharmacy-medicine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.pharmacy-medicine-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pharmacy-medicine-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.pharmacy-medicine-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pharmacy-medicine-card__head h4 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--color-deep-blue);
}

.pharmacy-medicine-card__badge {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.pharmacy-medicine-card__generic {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--color-gray-muted);
}

.pharmacy-medicine-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.pharmacy-medicine-card__meta div {
  min-width: 0;
}

.pharmacy-medicine-card__meta dt {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-muted);
}

.pharmacy-medicine-card__meta dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-deep-blue);
}

.pharmacy-medicine-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.pharmacy-page-btn {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-deep-blue);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.pharmacy-page-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pharmacy-page-status {
  font-size: 0.85rem;
  color: var(--color-gray-muted);
}

.pharmacy-connect-phones {
  display: grid;
  gap: 0.55rem;
}

.pharmacy-connect-phone {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d3a35, #276152);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease;
}

.pharmacy-connect-phone:hover {
  transform: translateY(-1px);
  color: #fff;
}

.star-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.25rem;
}

.star-rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating-input label {
  cursor: pointer;
  font-size: 1.65rem;
  color: #d1d5db;
  transition: color 0.12s ease, transform 0.12s ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover~label,
.star-rating-input input:checked~label {
  color: #f5a623;
}

.star-rating-input label:hover {
  transform: scale(1.08);
}

.pharmacy-review-modal .modal-content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.pharmacy-review-modal .modal-header {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.12), rgba(5, 168, 143, 0.08));
  border-bottom: 1px solid var(--color-border);
}

.pharmacy-store-hero__stock-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(5, 168, 143, 0.28);
  color: #fff;
}

.pharmacy-store-hero__institutions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pharmacy-store-hero__institutions span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 58, 53, 0.08);
  border: 1px solid rgba(13, 58, 53, 0.14);
  color: #0d3a35;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pharmacy-store-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.pharmacy-store-hero__meta-item {
  font-size: 0.92rem;
  color: var(--color-gray-muted);
}

.pill-outline {
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-deep-blue);
}

.pharmacy-store-hero__visual {
  min-width: 0;
}

.pharmacy-store-hero__banner {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(13, 58, 53, 0.1);
  box-shadow:
    0 24px 50px rgba(7, 25, 53, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  transform: rotate(-0.6deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pharmacy-store-hero__banner:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 28px 56px rgba(7, 25, 53, 0.18);
}

.pharmacy-store-hero__banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(420px, 52vh);
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #fafafa, #fff);
}

.pharmacy-store-hero__banner--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 280px;
  padding: 2rem;
  color: var(--color-gray-muted);
  transform: none;
}

.pharmacy-store-hero__banner--placeholder i {
  font-size: 2.5rem;
  color: rgba(13, 58, 53, 0.35);
}

@media (max-width: 991px) {
  .pharmacy-store-hero__grid {
    grid-template-columns: 1fr;
  }

  .pharmacy-store-hero__visual {
    order: -1;
  }

  .pharmacy-store-hero__banner {
    transform: none;
  }

  .pharmacy-store-hero__banner img {
    max-height: min(320px, 45vh);
  }
}

@media (max-width: 575px) {
  .pharmacy-store-hero__cards {
    grid-template-columns: 1fr;
  }

  .pharmacy-store-hero__partner-phones {
    grid-template-columns: 1fr;
  }
}

.pharmacy-store-logo img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--color-border);
  background: #fff;
}

.pharmacy-pharmacist-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pharmacy-pharmacist-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(39, 97, 82, 0.15);
}

.pharmacy-pharmacist-photo--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 97, 82, 0.1);
  color: var(--color-deep-blue);
  font-size: 1.5rem;
}

.page-hero h1 {
  color: var(--color-deep-blue);
  margin: 1rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.page-hero p {
  max-width: 640px;
  font-size: 1.08rem;
}

.hero-art {
  position: relative;
  min-height: 340px;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: linear-gradient(145deg, #071935, #29255f);
  box-shadow: 0 26px 60px rgba(7, 25, 53, .18);
  padding: 1.3rem;
  color: #fff;
  overflow: hidden;
}

.hero-art::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  right: -56px;
  top: -56px;
  background: rgba(255, 255, 255, .1);
}

.art-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  margin-bottom: .85rem;
}

.art-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #0fb3a4, #7f5bff);
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.art-card strong {
  display: block;
  color: #fff;
}

.art-card small {
  display: block;
  color: rgba(255, 255, 255, .68);
}

.art-metric {
  position: relative;
  z-index: 1;
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  color: var(--color-deep-blue);
  box-shadow: 0 18px 42px rgba(7, 25, 53, .2);
}

.art-metric .metric-line {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-purple));
  margin-top: .7rem;
}

.icon-card-grid,
.doctor-grid,
.clean-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.icon-card,
.doctor-card,
.legal-card,
.contact-card,
.clean-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.icon-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.icon-card:hover,
.doctor-card:hover,
.legal-card:hover,
.contact-card:hover,
.clean-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 91, 255, .18);
  box-shadow: var(--shadow-md);
}

.icon-card .icon,
.clean-card .icon,
.legal-card .icon,
.contact-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(127, 91, 255, .1);
  color: var(--color-purple);
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.icon-card h3,
.doctor-card h3,
.legal-card h3,
.contact-card h3,
.clean-card h3 {
  color: var(--color-deep-blue);
}

.icon-card p,
.doctor-card p,
.legal-card p,
.contact-card p,
.clean-card p {
  margin: 0;
}

.step-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  padding: 1.65rem 1.15rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 97, 82, .22);
  box-shadow: 0 14px 32px rgba(13, 58, 53, .1);
}

.step-card__visual {
  position: relative;
  display: inline-flex;
  margin-bottom: 1rem;
}

.step-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(39, 97, 82, .12), rgba(177, 183, 171, .24));
  color: var(--color-deep-blue);
  font-size: 1.35rem;
}

.step-card h3 {
  color: var(--color-deep-blue);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 .55rem;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.step-number {
  position: absolute;
  top: -7px;
  right: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hero-gradient);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(13, 58, 53, .16);
  margin: 0;
}

.pricing-clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border-color: rgba(127, 91, 255, .34);
  box-shadow: 0 22px 55px rgba(127, 91, 255, .16);
}

.price-card .plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.price-card h3 {
  color: var(--color-deep-blue);
  margin: 0 0 .4rem;
}

.price-card .price {
  color: var(--color-deep-blue);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 1rem 0;
}

.price-card .price span {
  font-size: .9rem;
  color: var(--color-gray-muted);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: .65rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--color-gray-muted);
}

.check-list li i {
  color: var(--color-teal);
  margin-top: .12rem;
}

.doctor-card .doctor-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(127, 91, 255, .18), rgba(15, 179, 164, .16));
  color: var(--color-purple);
  font-size: 1.8rem;
}

.doctor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1rem 0;
}

.doctor-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .62rem;
  border-radius: 999px;
  background: var(--color-gray-lighter);
  color: var(--color-deep-blue);
  font-size: .78rem;
  font-weight: 700;
}

.testimonial-clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-clean .quote-card {
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #fff;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.quote-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1rem;
}

.quote-author span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(127, 91, 255, .12);
  color: var(--color-purple);
  font-weight: 800;
}

.contact-grid-clean {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem;
  border-radius: 16px;
  background: var(--color-gray-lighter);
  margin-top: .75rem;
}

.contact-method i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #fff;
  color: var(--color-purple);
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.subtle-note {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(127, 91, 255, .08), rgba(15, 179, 164, .06));
}

@media (max-width: 1024px) {

  .page-hero-grid,
  .contact-grid-clean {
    grid-template-columns: 1fr;
  }

  .icon-card-grid,
  .doctor-grid,
  .clean-grid,
  .testimonial-clean,
  .pricing-clean,
  .step-strip,
  .legal-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 3.5rem 0 2rem;
  }

  .hero-art {
    min-height: auto;
  }

  .icon-card-grid,
  .doctor-grid,
  .clean-grid,
  .testimonial-clean,
  .pricing-clean,
  .step-strip,
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

/* 2026 premium healthcare refresh */
:root {
  --color-deep-blue: #0D3A35;
  --color-purple: #276152;
  --color-purple-dark: #0D3A35;
  --color-teal: #276152;
  --color-gray-light: #FBF6F0;
  --color-gray-lighter: #fffdfa;
  --color-gray-muted: #4f675f;
  --color-text: #0D3A35;
  --color-border: rgba(13, 58, 53, 0.12);
  --color-white: #FFFFFF;
  --accent: #B1B7AB;
  --hero-gradient: linear-gradient(135deg, #0D3A35 0%, #276152 100%);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-family);
  background: var(--color-gray-light);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dc-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(13, 58, 53, 0.06);
}

.btn.primary {
  background: var(--hero-gradient);
  box-shadow: 0 8px 20px rgba(39, 97, 82, 0.15);
}

.btn.primary:hover {
  box-shadow: 0 10px 22px rgba(39, 97, 82, 0.18);
}

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

.pill {
  background: rgba(39, 97, 82, 0.12);
  color: var(--color-deep-blue);
}

.pill-sponsored {
  background: #fef3c7;
  color: #92400e;
}

.pill-featured {
  background: #dbeafe;
  color: #1e40af;
}

.page-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(39, 97, 82, .14), transparent 24rem),
    radial-gradient(circle at 88% 4%, rgba(177, 183, 171, .28), transparent 28rem),
    linear-gradient(180deg, #fff, #fbf6f0);
}

.hero-art {
  background: var(--hero-gradient);
  box-shadow: 0 16px 34px rgba(13, 58, 53, .15);
}

.icon-card,
.doctor-card,
.legal-card,
.contact-card,
.clean-card {
  box-shadow: 0 6px 18px rgba(13, 58, 53, .08);
}

.icon-card:hover,
.doctor-card:hover,
.legal-card:hover,
.contact-card:hover,
.clean-card:hover {
  border-color: rgba(39, 97, 82, .25);
  box-shadow: 0 10px 22px rgba(13, 58, 53, .1);
}

.icon-card .icon,
.clean-card .icon,
.legal-card .icon,
.contact-card .icon {
  background: rgba(39, 97, 82, .12);
  color: var(--color-deep-blue);
}

.price-card.featured {
  border-color: rgba(39, 97, 82, .34);
  box-shadow: 0 12px 24px rgba(39, 97, 82, .14);
}

.price-card .plan-icon {
  background: var(--hero-gradient);
}

.doctor-card .doctor-avatar {
  background: linear-gradient(135deg, rgba(39, 97, 82, .18), rgba(177, 183, 171, .22));
  color: var(--color-deep-blue);
}

.quote-author span {
  background: rgba(39, 97, 82, .12);
  color: var(--color-deep-blue);
}

.subtle-note {
  background: linear-gradient(135deg, rgba(177, 183, 171, .18), rgba(39, 97, 82, .08));
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-service-item {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 6px 14px rgba(13, 58, 53, .06);
}

.home-service-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: .8rem;
  background: rgba(39, 97, 82, .12);
  color: var(--color-deep-blue);
  font-size: 1.3rem;
}

.home-service-item h3 {
  margin: 0 0 .45rem;
  color: var(--color-deep-blue);
  font-size: 1.06rem;
}

.home-service-item p {
  margin: 0;
  font-size: .92rem;
}

.doctor-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.doctor-showcase {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 6px 16px rgba(13, 58, 53, .07);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.doctor-showcase-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.doctor-showcase-main {
  flex: 1 1 auto;
  min-height: 0;
}

.doctor-showcase-action {
  margin-top: auto;
  padding-top: 1rem;
  flex-shrink: 0;
}

.doctor-showcase .avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(177, 183, 171, .35);
  color: var(--color-deep-blue);
  font-size: 1.25rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.doctor-showcase .pill.showcase-type,
.doctor-showcase-head .pill {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  margin: 0;
  text-transform: uppercase;
}

.doctor-showcase h3,
.icon-card h3,
.clean-card h3,
.home-service-item h3 {
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-deep-blue);
  margin: 0 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doctor-showcase p,
.icon-card p,
.clean-card p,
.home-service-item p {
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
  color: var(--color-gray-muted);
}

.doctor-showcase .pill {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.5rem;
}

.doctor-showcase .btn,
.icon-card .btn {
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  margin-top: 0;
}

.doctor-showcase-action .btn,
.icon-card-action .btn {
  width: 100%;
}

.doctor-profile-card .dp-foot {
  margin-top: auto;
  padding-top: 0.75rem;
}

.icon-card .doctor-meta {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.doctor-showcase .doctor-meta {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.icon-card-action {
  margin-top: auto;
  padding-top: 1rem;
  flex-shrink: 0;
}

.appointment-form {
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(13, 58, 53, .08);
}

.appointment-form .form-control,
.appointment-form .form-select {
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
  border-color: #276152;
  box-shadow: 0 0 0 0.2rem rgba(39, 97, 82, .12);
}

.home-services-grid .home-service-item,
.doctor-showcase-grid .doctor-showcase,
.icon-card-grid .icon-card {
  min-height: 100%;
  height: 100%;
}

@media (max-width: 1024px) {

  .home-services-grid,
  .doctor-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {

  .home-services-grid,
  .doctor-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Vyodiq — enterprise component additions
   ============================================================ */

.announcement-bar {
  background: var(--hero-gradient);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.announcement-primary {
  flex-shrink: 0;
}

.announcement-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.announcement-bar a:hover,
.announcement-bar a:focus {
  color: #fff;
  text-decoration: none;
}

.announcement-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.announcement-call:hover {
  color: #fff;
  opacity: 0.92;
  text-decoration: none;
}

.announcement-mid {
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-actions {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-text small {
  font-family: var(--font-family);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-gray-muted);
}

/* Wide footer */
.footer-grid-wide {
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  align-items: start;
}

.footer-links {
  display: contents;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
  justify-content: flex-start;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(39, 97, 82, 0.1);
  color: var(--color-deep-blue);
  border: 1px solid var(--color-border);
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(39, 97, 82, 0.16);
  color: var(--color-teal);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .footer-grid.footer-grid-wide {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: stretch;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 5vw, 2rem);
    row-gap: 1.75rem;
    width: 100%;
    align-items: start;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .footer-brandmark {
    margin-top: 0;
  }

  .footer-brand-text {
    text-align: left;
    width: 100%;
  }

  .footer-section h4 {
    font-size: 0.82rem;
  }

  .footer-section a {
    font-size: 0.84rem;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .footer-grid.footer-grid-wide {
    gap: 1.5rem;
  }

  .footer-links {
    column-gap: 1rem;
    row-gap: 1.5rem;
  }

  .footer-section h4 {
    font-size: 0.78rem;
  }

  .footer-section a {
    font-size: 0.8rem;
  }
}

/* Section heading left variant */
.section-heading.left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 720px;
}

/* Generic 2-column grid */
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

/* Trust metric band */
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric-box {
  text-align: center;
  padding: 1.6rem 1rem;
  border-radius: 18px;
  background: var(--hero-gradient);
  color: #fff;
}

.metric-box .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  letter-spacing: -0.02em;
}

.metric-box .lbl {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* FAQ accordion */
.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-deep-blue);
  list-style: none;
}

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

.faq-item summary i {
  transition: transform 0.2s ease;
  color: var(--color-purple);
}

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

.faq-item .faq-body {
  padding: 0 1.3rem 1.2rem;
  color: var(--color-gray-muted);
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 1.4rem;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 2.2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(39, 97, 82, 0.25);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.2rem;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--hero-gradient);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(39, 97, 82, 0.2);
}

.timeline-item .year {
  font-weight: 800;
  color: var(--color-purple);
}

.timeline-item h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.15rem;
  color: var(--color-deep-blue);
}

.timeline-item p {
  margin: 0;
}

/* App promo */
.app-promo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  border-radius: 24px;
  padding: 2.5rem;
  background: var(--hero-gradient);
  color: #fff;
  overflow: hidden;
}

.app-promo h2 {
  color: #fff;
}

.app-promo p {
  color: rgba(255, 255, 255, 0.85);
}

.app-promo__copy {
  position: relative;
  z-index: 1;
}

.store-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 700;
}

.store-btn i {
  font-size: 1.6rem;
}

.store-btn small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.82;
  line-height: 1.1;
}

.app-promo-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-promo-visual__glow {
  position: absolute;
  inset: 10% 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  filter: blur(18px);
}

.app-promo-phone {
  position: relative;
  z-index: 1;
  width: 230px;
  padding: 0.55rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.app-promo-phone__notch {
  width: 72px;
  height: 7px;
  margin: 0 auto 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-promo-phone__screen {
  border-radius: 26px;
  background: linear-gradient(180deg, #f8fffd 0%, #eef7f4 100%);
  color: #0d3a35;
  padding: 0.85rem;
  overflow: hidden;
}

.app-promo-phone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
}

.app-promo-phone__header span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(5, 168, 143, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #05a88f;
}

.app-promo-phone__hero {
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(5, 168, 143, 0.16), rgba(99, 102, 241, 0.12));
  margin-bottom: 0.65rem;
}

.app-promo-phone__hero small {
  display: block;
  font-size: 0.62rem;
  color: #64748b;
}

.app-promo-phone__hero strong {
  font-size: 0.82rem;
}

.app-promo-phone__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.app-promo-phone__actions span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.42rem 0.45rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(13, 58, 53, 0.08);
}

.app-promo-phone__actions i {
  color: #05a88f;
}

.app-promo-phone__card {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(13, 58, 53, 0.08);
  padding: 0.55rem;
}

.app-promo-phone__card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.app-promo-phone__avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(5, 168, 143, 0.14);
  color: #05a88f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-promo-phone__card-head strong {
  display: block;
  font-size: 0.72rem;
}

.app-promo-phone__card-head small {
  font-size: 0.6rem;
  color: #64748b;
}

.app-promo-phone__card-head em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: rgba(5, 168, 143, 0.14);
  color: #05a88f;
}

.app-promo-phone__card-row {
  font-size: 0.62rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0;
}

.app-promo-phone__card-row i {
  color: #05a88f;
}

.app-promo-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #0d3a35;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  font-size: 0.72rem;
}

.app-promo-float strong {
  display: block;
  font-size: 0.74rem;
}

.app-promo-float small {
  color: #64748b;
  font-size: 0.62rem;
}

.app-promo-float i {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 168, 143, 0.14);
  color: #05a88f;
}

.app-promo-float--rx {
  top: 8%;
  right: 0;
}

.app-promo-float--family {
  bottom: 10%;
  left: 0;
}

.app-visual {
  display: flex;
  justify-content: center;
}

.app-phone {
  width: 220px;
  height: 320px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* Newsletter */
.newsletter-panel {
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 2.2rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(13, 58, 53, 0.06);
}

.newsletter-form {
  display: flex;
  gap: 0.7rem;
  max-width: 520px;
  margin: 1.2rem auto 0;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.newsletter-form input:focus {
  outline: none;
  border-color: #276152;
  box-shadow: 0 0 0 0.2rem rgba(39, 97, 82, 0.12);
}

/* Doctor directory + filters */
.directory-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.filter-panel {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  padding: 1.4rem;
  box-shadow: 0 6px 16px rgba(13, 58, 53, 0.06);
  position: sticky;
  top: 90px;
}

.filter-group {
  margin-bottom: 1.2rem;
}

.filter-group h4 {
  font-family: var(--font-family);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-gray-muted);
  margin-bottom: 0.6rem;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  color: var(--color-deep-blue);
  font-size: 0.92rem;
  cursor: pointer;
}

.doctor-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.doctor-profile-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  padding: 1.3rem;
  box-shadow: 0 6px 16px rgba(13, 58, 53, 0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-profile-card .dp-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.doctor-profile-card .dp-avatar {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(39, 97, 82, 0.18), rgba(177, 183, 171, 0.3));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-deep-blue);
  font-size: 2rem;
  flex: 0 0 auto;
}

.doctor-profile-card h3 {
  margin: 0;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-deep-blue);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doctor-profile-card .dp-spec {
  color: var(--color-purple);
  font-weight: 700;
  font-size: 0.88rem;
}

.dp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 1rem;
}

.dp-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--color-gray-lighter);
  color: var(--color-deep-blue);
  font-size: 0.76rem;
  font-weight: 700;
}

.dp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
}

.dp-fee {
  font-weight: 800;
  color: var(--color-deep-blue);
}

.dp-fee small {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--color-gray-muted);
}

/* Multi-step appointment */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stepper .step {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-gray-muted);
}

.stepper .step.active {
  background: var(--hero-gradient);
  color: #fff;
  border-color: transparent;
}

.stepper .step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(13, 58, 53, 0.08);
  font-size: 0.78rem;
}

.stepper .step.active .n {
  background: rgba(255, 255, 255, 0.25);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.5rem;
  align-items: start;
}

.summary-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  padding: 1.4rem;
  box-shadow: 0 6px 16px rgba(13, 58, 53, 0.07);
  position: sticky;
  top: 90px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.92rem;
}

.summary-row.total {
  border-bottom: none;
  font-weight: 800;
  color: var(--color-deep-blue);
  font-size: 1.05rem;
  padding-top: 0.9rem;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.slot-grid .slot {
  display: block;
  width: 100%;
  padding: 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: var(--font-family);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.slot-grid .slot:hover {
  border-color: rgba(15, 179, 164, 0.45);
}

.slot-grid .slot.selected {
  border-color: var(--color-teal);
  background: rgba(15, 179, 164, 0.12);
  color: var(--color-teal);
}

/* Booking form — plain readable text (no display serif) */
.booking-layout,
.booking-layout .appointment-form,
.booking-layout .summary-card {
  font-family: var(--font-family);
  color: var(--color-text);
}

.booking-layout h3 {
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.booking-layout .form-label {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.booking-layout .form-control,
.booking-layout .form-select,
.booking-layout .summary-row,
.booking-layout p,
.booking-layout .small {
  font-family: var(--font-family);
  font-weight: 400;
}

.booking-layout .summary-row.total {
  font-weight: 600;
}

.booking-layout .prefilled-selection {
  background: #f8faf9;
  border: 1px solid #d8e8df;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.booking-layout .prefilled-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-family: var(--font-family);
}

.booking-layout .prefilled-row+.prefilled-row {
  border-top: 1px solid #e8f0eb;
}

.booking-layout .prefilled-label {
  color: #5f6f66;
  font-weight: 400;
}

.booking-layout .prefilled-value {
  color: #1a2e24;
  font-weight: 600;
  text-align: right;
}

.booking-layout .date-field-wrap {
  position: relative;
}

.booking-layout .appointment-date-input {
  cursor: pointer;
  min-height: 46px;
  position: relative;
}

.booking-layout .appointment-date-input::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.mode-grid .mode {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  background: #fff;
  width: 100%;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mode-grid .mode:hover {
  border-color: rgba(15, 179, 164, 0.45);
}

.mode-grid .mode.selected {
  border-color: var(--color-teal);
  background: rgba(15, 179, 164, 0.1);
  color: var(--color-teal);
}

.mode-grid .mode i {
  font-size: 1.5rem;
  color: var(--color-purple);
}

/* Blog layout */
.blog-hero {
  padding-bottom: 3rem;
}

.blog-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-hero-visual img {
  width: min(100%, 520px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(13, 58, 53, 0.12));
}

.blog-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.blog-hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 58, 53, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.blog-hero-stat img {
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.blog-hero-stat strong {
  display: block;
  color: var(--color-deep-blue);
  font-size: 0.88rem;
  line-height: 1.2;
}

.blog-hero-stat small {
  display: block;
  color: var(--color-gray-muted);
  font-size: 0.76rem;
}

.blog-section {
  padding-top: 0;
}

.blog-layout,
.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.8rem;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

.blog-section-heading {
  margin: 2rem 0 1.2rem;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(13, 58, 53, 0.08);
}

.blog-featured-card__media {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
}

.blog-featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.blog-featured-card:hover .blog-featured-card__media img {
  transform: scale(1.03);
}

.blog-featured-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.blog-featured-card__body {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-card__body h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
  margin: 0.35rem 0 0.75rem;
}

.blog-featured-card__body h2 a,
.blog-card-body h3 a {
  color: var(--color-deep-blue);
  text-decoration: none;
}

.blog-featured-card__body h2 a:hover,
.blog-card-body h3 a:hover {
  color: #05a88f;
}

.blog-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(13, 58, 53, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(13, 58, 53, 0.1);
}

.blog-thumb {
  display: block;
  height: 180px;
  overflow: hidden;
  background: #f7fbfb;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(39, 97, 82, 0.12);
  color: var(--color-deep-blue);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.blog-card-body h3 {
  font-size: 1.08rem;
  color: var(--color-deep-blue);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--color-gray-muted);
  font-size: 0.8rem;
  margin-top: auto;
  padding-top: 0.6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.blog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed var(--color-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.blog-empty-state img {
  width: min(100%, 320px);
  margin: 0 auto 1rem;
  border-radius: 16px;
}

.blog-sidebar-visual img,
.blog-sidebar-cta img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  display: block;
}

.blog-sidebar-cta .btn+.btn {
  margin-top: 0.65rem;
}

.blog-trust-band .icon-card .icon {
  width: 72px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
}

.blog-trust-band .icon-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-article-hero {
  padding: 4.5rem 0 2rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(5, 168, 143, 0.1), transparent 24rem),
    radial-gradient(circle at 90% 0%, rgba(99, 102, 241, 0.08), transparent 26rem),
    linear-gradient(180deg, #fff, #f7fbfb);
}

.blog-article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.blog-article-hero__copy h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-deep-blue);
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
}

.blog-article-hero__visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(13, 58, 53, 0.12);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-gray-muted);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.blog-back-link:hover {
  color: #05a88f;
}

.blog-article {
  min-width: 0;
}

.blog-article-body {
  max-width: none;
}

.blog-article-body .lead {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--color-gray-muted);
  margin-bottom: 1.5rem;
}

.blog-article-sidebar {
  position: sticky;
  top: 6rem;
}

.sidebar-card {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  padding: 1.3rem;
  margin-bottom: 1.2rem;
}

.sidebar-card h4 {
  font-size: 1rem;
  color: var(--color-deep-blue);
  margin-bottom: 0.9rem;
}

.cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.cat-list a {
  display: flex;
  justify-content: space-between;
  color: var(--color-gray-muted);
  font-size: 0.9rem;
}

.search-box {
  display: flex;
  gap: 0.5rem;
}

.search-box input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

/* Article body */
.article-body {
  max-width: 760px;
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 1.6rem 0 0.8rem;
  color: var(--color-deep-blue);
}

.article-body p {
  line-height: 1.9;
}

.toc {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  background: var(--color-gray-lighter);
  margin-bottom: 1.5rem;
}

.toc ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
}

.author-row .au-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(39, 97, 82, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-deep-blue);
}

.comment {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  background: #fff;
}

/* Conditions / pill list */
.condition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.condition-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--color-gray-lighter);
  border: 1px solid var(--color-border);
  color: var(--color-deep-blue);
  font-weight: 600;
  font-size: 0.85rem;
}

.review-card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  padding: 1.2rem;
}

.review-card .stars {
  color: #e0a106;
  margin-bottom: 0.5rem;
}

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

  .directory-layout,
  .booking-layout,
  .blog-layout,
  .blog-article-layout,
  .app-promo,
  .grid-2-col {
    grid-template-columns: 1fr;
  }

  .blog-featured-card,
  .blog-article-hero__grid {
    grid-template-columns: 1fr;
  }

  .blog-article-sidebar {
    position: static;
  }

  .filter-panel,
  .summary-card {
    position: static;
  }

  .doctor-list-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .announcement-mid {
    display: none;
  }

  .metric-band,
  .doctor-list-grid,
  .blog-grid,
  .blog-hero-stats,
  .slot-grid,
  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-promo {
    padding: 1.6rem;
  }

  .app-promo-visual {
    min-height: 280px;
    margin-top: 0.5rem;
  }

  .app-promo-float--rx {
    right: 4%;
    top: 4%;
  }

  .app-promo-float--family {
    left: 4%;
    bottom: 6%;
  }
}

/* Header layout fix — avoid Bootstrap .nav conflict + crowding */
.dc-header .brandmark,
.dc-header .footer-brandmark {
  background: linear-gradient(135deg, #0D3A35, #276152);
  box-shadow: 0 6px 16px rgba(39, 97, 82, 0.22);
}

@media (max-width: 1280px) {
  .header-actions .btn {
    padding: 0.72rem 1.15rem;
    font-size: 0.86rem;
  }

  .dc-nav {
    gap: 0.85rem;
  }

  .dc-nav a {
    font-size: 0.88rem;
  }
}

@media (max-width: 991px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .dc-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 0.35rem;
  }

  .dc-nav.is-open {
    display: flex;
  }

  .dc-nav a {
    padding: 0.75rem 0.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(13, 58, 53, 0.06);
  }

  .dc-nav a::after {
    display: none;
  }

  .dc-nav-dropdown {
    width: 100%;
  }

  .dc-nav-dropdown-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(13, 58, 53, 0.06);
  }

  .dc-nav-dropdown-toggle::before {
    display: none;
  }

  .dc-nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none;
    width: 100%;
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(15, 179, 164, 0.04);
  }

  .dc-nav-dropdown-menu .dropdown-item {
    padding: 0.65rem 1rem 0.65rem 1.25rem;
    border-bottom: 1px solid rgba(13, 58, 53, 0.06);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }
}

/* ============================================================
   Global responsive system — all screen sizes
   ============================================================ */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  min-width: 0;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.blog-card-horizontal {
  flex-direction: row;
  align-items: stretch;
}

/* Large tablet / small laptop */
@media (max-width: 1200px) {

  .home-services-grid,
  .doctor-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .integration-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablet */
@media (max-width: 992px) {

  .page-hero-grid,
  .hero-grid,
  .split-feature,
  .grid-2-col,
  .app-promo,
  .directory-layout,
  .booking-layout,
  .blog-layout,
  .contact-grid-clean,
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .home-services-grid,
  .doctor-showcase-grid,
  .icon-card-grid,
  .workflow-grid,
  .rich-feature-grid,
  .step-strip,
  .testimonial-clean,
  .doctor-list-grid,
  .blog-grid,
  .clean-grid,
  .doctor-grid,
  .pricing-clean,
  .legal-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integration-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card-horizontal {
    flex-direction: column;
  }

  .blog-card-horizontal .blog-thumb {
    flex: none !important;
    height: 200px;
    min-height: 200px;
  }

  .hero-visual {
    margin-top: 0.5rem;
  }

  .floating-badge {
    position: static;
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .visual-card-large {
    grid-row: auto;
  }

  .product-panel {
    grid-template-columns: 1fr;
  }

  .panel-sidebar {
    flex-direction: row;
    justify-content: center;
  }

  .announcement-mid {
    display: none;
  }

  .announcement-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .announcement-primary {
    text-align: left;
  }

  .announcement-call {
    justify-content: flex-start;
  }

  .announcement-actions {
    justify-content: flex-end;
  }
}

/* Tablet portrait — compact single-row topbar */
@media (max-width: 992px) and (min-width: 769px) {
  .announcement-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .announcement-primary {
    flex: 0 0 auto;
    text-align: left;
  }

  .announcement-call {
    justify-content: flex-start;
  }

  .announcement-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    width: min(100%, calc(100% - 1.25rem));
  }

  .section {
    padding: 2.75rem 0;
  }

  .page-hero {
    padding: 2.75rem 0 1.75rem;
  }

  .home-services-grid,
  .doctor-showcase-grid,
  .icon-card-grid,
  .workflow-grid,
  .rich-feature-grid,
  .step-strip,
  .testimonial-clean,
  .metric-band,
  .integration-strip,
  .doctor-list-grid,
  .blog-grid,
  .clean-grid,
  .doctor-grid,
  .pricing-clean,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions,
  .store-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .store-buttons .store-btn {
    width: 100%;
  }

  .trust-row,
  .feature-list {
    flex-direction: column;
    width: 100%;
  }

  .trust-row span,
  .feature-list span {
    width: 100%;
  }

  .announcement-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.45rem;
    column-gap: 1.25rem;
    padding: 0.55rem 0;
  }

  .announcement-primary {
    flex: 0 0 100%;
    text-align: center;
  }

  .announcement-call {
    justify-content: center;
    white-space: normal;
    flex-wrap: wrap;
  }

  .announcement-mid {
    display: none;
  }

  .announcement-actions {
    flex: 0 0 100%;
    justify-content: center;
    gap: 1.35rem;
  }

  .announcement-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .logo-text small {
    display: none;
  }

  .logo {
    font-size: 1rem;
  }

  .dp-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .dp-foot .d-flex {
    width: 100%;
    flex-direction: column;
  }

  .dp-foot .btn {
    width: 100%;
  }

  .stepper {
    flex-direction: column;
    align-items: stretch;
  }

  .stepper .step {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form .btn {
    width: 100%;
  }

  .slot-grid,
  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-row {
    grid-template-columns: 42px 1fr;
  }

  .appointment-row em {
    grid-column: 2;
    justify-self: start;
  }

  .cta-panel {
    padding: 1.5rem;
  }

  .subtle-note {
    flex-direction: column !important;
    text-align: left;
  }

  .footer-brand,
  .footer-brand-text,
  .footer-section {
    text-align: left;
    align-items: flex-start;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    width: min(100%, calc(100% - 1rem));
  }

  .metric-band,
  .slot-grid,
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .announcement-call-label {
    display: none;
  }

  .announcement-inner {
    row-gap: 0.35rem;
    padding: 0.5rem 0;
  }

  .announcement-actions {
    font-size: 0.78rem;
    gap: 1.1rem;
  }

  h1 {
    font-size: clamp(1.55rem, 7vw, 1.85rem);
  }

  h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.55rem);
  }

  .header-actions .btn-book .btn-label {
    display: none;
  }

  .header-actions .btn {
    padding: 0.62rem 0.75rem;
  }

  .metric-box .num {
    font-size: 1.75rem;
  }

  .app-phone {
    width: 180px;
    height: 260px;
  }

  .hero-art,
  .hero-visual {
    border-radius: 18px;
    padding: 1rem;
  }

  .btn {
    padding: 0.72rem 1.2rem;
    font-size: 0.88rem;
  }
}

/* ============================================================================
   Smart Doctor Match™
   ============================================================================ */

.sdm-hero {
  padding-bottom: 2rem;
}

.sdm-section {
  padding-top: 1rem;
}

.sdm-layout {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

.card-modern {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.sdm-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.sdm-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.05);
  font-size: 0.82rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-muted);
}

.sdm-step .n {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.75rem;
}

.sdm-step.active {
  background: rgba(15, 179, 164, 0.12);
  color: var(--color-text);
}

.sdm-step.active .n,
.sdm-step.done .n {
  background: var(--color-teal);
  color: #fff;
}

.sdm-textarea {
  border: none;
  border-radius: 0;
  padding: 1rem;
  font-size: 1rem;
  resize: vertical;
  min-height: 140px;
  box-shadow: none;
}

.sdm-textarea:focus {
  box-shadow: none;
}

.sdm-symptom-field {
  margin-bottom: 0.25rem;
}

.sdm-symptom-field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.45rem;
}

.sdm-symptom-composer {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: visible;
  background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sdm-symptom-composer .sdm-textarea {
  border-top-left-radius: calc(var(--radius-md) - 1px);
  border-top-right-radius: calc(var(--radius-md) - 1px);
}

.sdm-composer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--color-border);
  background: rgba(39, 97, 82, 0.04);
  border-bottom-left-radius: calc(var(--radius-md) - 1px);
  border-bottom-right-radius: calc(var(--radius-md) - 1px);
  position: relative;
  z-index: 2;
}

.sdm-voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(39, 97, 82, 0.22);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--color-deep-blue);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.sdm-voice-btn:hover {
  background: rgba(39, 97, 82, 0.08);
  border-color: rgba(39, 97, 82, 0.35);
}

.sdm-voice-btn i {
  font-size: 0.9rem;
}

.sdm-symptom-composer:focus-within {
  border-color: rgba(39, 97, 82, 0.35);
  box-shadow: 0 0 0 3px rgba(39, 97, 82, 0.08);
}

.sdm-lang-dropdown {
  position: relative;
  z-index: 5;
}

.sdm-lang-dropdown.show {
  z-index: 1060;
}

.sdm-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(39, 97, 82, 0.22);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--color-deep-blue);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.sdm-lang-toggle:hover,
.sdm-lang-dropdown.show .sdm-lang-toggle {
  background: rgba(39, 97, 82, 0.08);
  border-color: rgba(39, 97, 82, 0.35);
  color: var(--color-deep-blue);
}

.sdm-lang-toggle.dropdown-toggle::after {
  display: none;
}

.sdm-lang-caret {
  font-size: 0.62rem;
  line-height: 1;
  opacity: 0.75;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.sdm-lang-dropdown.show .sdm-lang-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.sdm-lang-menu {
  margin-top: 0.4rem;
  padding: 0.45rem 0;
  min-width: 11.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  z-index: 1060;
}

.sdm-lang-menu.show {
  display: block;
}

.sdm-lang-menu .dropdown-item {
  width: 100%;
  text-align: left;
  font-size: 0.86rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-muted);
  padding: 0.55rem 1rem;
  border: none;
  background: transparent;
}

.sdm-lang-menu .dropdown-item:hover,
.sdm-lang-menu .dropdown-item:focus,
.sdm-lang-menu .dropdown-item.active {
  background: rgba(39, 97, 82, 0.08);
  color: var(--color-deep-blue);
}

.sdm-lang-menu .dropdown-item.active {
  font-weight: var(--font-weight-semibold);
}

.sdm-voice-status {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.78rem;
  color: var(--color-gray-muted);
  text-align: right;
}

@media (max-width: 575px) {
  .sdm-composer-bar {
    gap: 0.4rem;
  }

  .sdm-voice-status {
    flex: 1 1 100%;
    text-align: left;
  }
}

.sdm-chip {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin: 0.15rem;
}

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

.sdm-urgency-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: var(--font-weight-semibold);
}

.sdm-urgency-badge.routine {
  background: rgba(15, 179, 164, 0.15);
  color: #0a7a70;
}

.sdm-urgency-badge.urgent {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

.sdm-urgency-badge.emergency {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
}

.sdm-emergency-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #991b1b;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.sdm-specialty-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.sdm-specialty-card.primary {
  border-color: var(--color-teal);
  background: rgba(15, 179, 164, 0.06);
}

.sdm-specialty-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.sdm-confidence {
  font-size: 0.78rem;
  color: var(--color-teal);
  font-weight: var(--font-weight-semibold);
}

.sdm-doctor-grid {
  display: grid;
  gap: 1rem;
}

.sdm-doctor-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--color-gray-lighter);
}

.sdm-doctor-avatar {
  font-size: 2.5rem;
  color: var(--color-teal);
}

.sdm-doctor-body h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.sdm-doctor-spec {
  color: var(--color-teal);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.sdm-doctor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.sdm-mode-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(127, 91, 255, 0.12);
  color: var(--color-purple-dark);
  margin-right: 0.25rem;
}

.sdm-doctor-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sdm-assistant-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.sdm-assistant-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
}

.sdm-assistant-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

.sdm-assistant-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 1040;
  width: min(360px, calc(100vw - 2.5rem));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.sdm-assistant-widget.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.sdm-assistant-widget .sdm-assistant {
  position: static;
  top: auto;
  margin: 0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.sdm-assistant {
  position: static;
}

.sdm-assistant-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.sdm-assistant-close {
  margin-left: auto;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sdm-assistant-close:hover {
  background: rgba(15, 23, 42, 0.12);
}

.sdm-assistant-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sdm-assistant-messages {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.sdm-msg {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
  max-width: 95%;
}

.sdm-msg.bot {
  background: rgba(15, 23, 42, 0.05);
  align-self: flex-start;
}

.sdm-msg.user {
  background: rgba(15, 179, 164, 0.15);
  align-self: flex-end;
}

.sdm-assistant-input {
  display: flex;
  gap: 0.5rem;
}

.logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo--image-only {
  gap: 0;
}

.footer-logo-img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand--image-only {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.footer-brand-name {
  display: block;
  color: var(--color-deep-blue);
  margin-bottom: var(--space-xs);
  font-weight: var(--font-weight-bold);
}

@media (max-width: 991px) {
  .sdm-doctor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sdm-doctor-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.sdm-filters {
  margin-bottom: 0.25rem;
}

.sdm-summary-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 179, 164, 0.25);
  background: linear-gradient(180deg, rgba(15, 179, 164, 0.06), rgba(255, 255, 255, 0.9));
}

.sdm-summary-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sdm-ai-badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  font-weight: 600;
}

.sdm-summary-note {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.sdm-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.sdm-summary-grid span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-muted);
}

.sdm-insights {
  display: grid;
  gap: 0.85rem;
}

.sdm-insight-block {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.sdm-insight-block h4 {
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.sdm-insight-block ul,
.sdm-insight-block ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.sdm-risk-block {
  border-color: rgba(220, 53, 69, 0.35);
  background: rgba(220, 53, 69, 0.04);
}

.sdm-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sdm-tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(15, 179, 164, 0.12);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 500;
}

.sdm-tag.muted {
  background: rgba(15, 23, 42, 0.06);
}

.sdm-disclaimer {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--color-gray-muted);
}

button.sdm-specialty-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

button.sdm-specialty-card:hover {
  border-color: rgba(15, 179, 164, 0.45);
}

.sdm-verified-badge,
.sdm-featured-badge {
  font-size: 0.68rem;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.sdm-verified-badge {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.sdm-featured-badge {
  background: rgba(255, 193, 7, 0.18);
  color: #856404;
}

.sdm-match-reasons {
  margin: 0.35rem 0 0.55rem;
  padding-left: 1rem;
  font-size: 0.78rem;
  color: var(--color-gray-muted);
}

.sdm-score {
  color: var(--color-teal);
  font-weight: 600;
}

.sdm-facilities-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.sdm-facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.sdm-facility-card {
  padding: 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.sdm-facility-type {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
  margin-bottom: 0.35rem;
}

#sdmVoiceBtn.active {
  background: rgba(220, 53, 69, 0.08);
  border-color: rgba(220, 53, 69, 0.35);
  color: #dc3545;
}

#sdmVoiceBtn.active i {
  animation: sdm-mic-pulse 1.2s ease-in-out infinite;
}

@keyframes sdm-mic-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

/* Portal chooser (/login) */
.portal-hero {
  padding-bottom: 1.5rem;
}

.portal-section {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

.portal-select-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.portal-select-card:hover {
  border-color: rgba(39, 97, 82, 0.32);
  box-shadow: 0 10px 24px rgba(13, 58, 53, 0.1);
  transform: translateY(-2px);
  color: var(--color-text);
}

.portal-select-card h3 {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  margin: 0 0 0.35rem;
  color: var(--color-deep-blue);
}

.portal-select-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--color-gray-muted);
}

.portal-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  background: rgba(39, 97, 82, 0.1);
  color: var(--color-teal);
}

@media (max-width: 991px) {
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .portal-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .portal-select-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
    padding: 1rem;
  }

  .portal-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .portal-select-card h3 {
    font-size: 0.95rem;
  }

  .portal-select-card p {
    font-size: 0.8rem;
  }
}

/* Portal sign-in forms (/admin/login, etc.) */
.portal-login-hero {
  max-width: 720px;
  margin: 0 auto;
}

.portal-login-section {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.portal-login-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.portal-login-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.5rem;
}

.portal-login-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.portal-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(39, 97, 82, 0.1);
  color: var(--color-teal);
  margin-bottom: 0.85rem;
}

.portal-login-header h2 {
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-deep-blue);
  margin: 0 0 0.35rem;
}

.portal-login-header p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-gray-muted);
}

.portal-login-alert {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  color: #b42318;
  margin-bottom: 1rem;
}

.portal-login-alert i {
  margin-right: 0.25rem;
}

.portal-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.portal-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.portal-input-wrap {
  position: relative;
}

.portal-input-wrap>i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.portal-input {
  width: 100%;
  padding: 0.72rem 0.85rem 0.72rem 2.45rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.portal-input:focus {
  outline: none;
  border-color: rgba(39, 97, 82, 0.45);
  box-shadow: 0 0 0 3px rgba(39, 97, 82, 0.12);
}

.portal-login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--color-teal), var(--color-deep-blue));
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.portal-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13, 58, 53, 0.18);
}

.portal-login-back {
  text-align: center;
  margin-top: 1.25rem;
}

.portal-login-back a {
  font-size: 0.84rem;
  color: var(--color-gray-muted);
  text-decoration: none;
}

.portal-login-back a:hover {
  color: var(--color-teal);
}

.portal-login-footer {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.84rem;
  color: var(--color-gray-muted);
}

.portal-login-footer a {
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: none;
}

.portal-login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-gray-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portal-login-divider::before,
.portal-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.portal-field-check {
  margin-top: -0.25rem;
}

.portal-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--color-gray-muted);
  cursor: pointer;
}

.portal-otp-label {
  margin: 0.85rem 0 0.5rem;
  font-size: 0.8rem;
}

.portal-otp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 0.45rem;
}

.portal-input-sm {
  padding: 0.45rem 0.65rem;
  width: auto;
  min-width: 0;
  flex: 1 1 100px;
  max-width: 150px;
}

.portal-otp-btn {
  padding: 0.45rem 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--color-teal);
  color: #fff;
  cursor: pointer;
}

.portal-otp-btn-light {
  background: #f1f5f9;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}