/* SSB Medics - Modern Clinical Luxury & SaaS Stylesheet */
:root {
  --navy-950: #050f1e;
  --navy-900: #0a1b33;
  --navy-800: #0f2c52;
  --primary: #0f4c81;
  --primary-light: #e8f3fc;
  --accent: #0ea5a4;
  --accent-dark: #0b8281;
  --gold: #d4a64a;
  --gold-light: #f3d488;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-light: #f4f7fb;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 4px 14px rgba(10, 27, 51, 0.05);
  --shadow-md: 0 14px 36px rgba(10, 27, 51, 0.1);
  --shadow-lg: 0 24px 54px rgba(5, 15, 30, 0.28);
  --radius: 16px;
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Montserrat", "Varela Round", system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Varela Round", "Montserrat", sans-serif;
  color: var(--text-dark);
  line-height: 1.22;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--navy-950);
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(212, 166, 74, 0.25);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar a {
  color: var(--gold-light);
  font-weight: 600;
}

/* Navbar */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 16px rgba(10, 27, 51, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1.5px solid rgba(212, 166, 74, 0.55);
  box-shadow: 0 2px 10px rgba(212, 166, 74, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--navy-900);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.55rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy-900), var(--primary));
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 76, 129, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b9862a);
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(212, 166, 74, 0.32);
}

.btn-gold:hover {
  transform: translateY(-2px);
  color: var(--navy-950);
  filter: brightness(1.06);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-light);
  color: #ffffff;
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn-outline-dark:hover {
  background: var(--navy-900);
  color: #ffffff;
}

/* Hero Section */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(14, 165, 164, 0.24), transparent 40%),
    radial-gradient(circle at 12% 80%, rgba(212, 166, 74, 0.16), transparent 42%),
    linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 52%, #0c3b66 100%);
  color: #ffffff;
  padding: 4.75rem 0 5.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 166, 74, 0.14);
  border: 1px solid rgba(212, 166, 74, 0.42);
  color: var(--gold-light);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-bottom: 1.15rem;
  letter-spacing: -0.015em;
}

.hero h1 span.highlight {
  color: var(--gold-light);
}

.hero p.lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.trust-pill strong {
  display: block;
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 0.15rem;
}

.trust-pill span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* Live Clinic Command Center Card */
.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 166, 74, 0.35);
}

.command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.command-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.command-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.token-board {
  background: var(--navy-900);
  color: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.token-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.token-meta {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.hero-card img.preview-img {
  border-radius: 12px;
  margin-bottom: 1rem;
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.hero-card ul.mini-checks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
}

.hero-card ul.mini-checks li::before {
  content: "✓ ";
  color: var(--accent-dark);
  font-weight: 800;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  background: rgba(14, 165, 164, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy-900);
  color: var(--gold-light);
  border-color: var(--navy-900);
}

/* Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 164, 0.45);
}

.card.is-hidden {
  display: none;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), #d5eef2);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(15, 76, 129, 0.12);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.94rem;
  color: var(--text-body);
  margin-bottom: 0.95rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.42rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "▸ ";
  color: var(--accent-dark);
  font-weight: 700;
}

/* Split Spotlight */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.spotlight-media {
  position: relative;
}

.spotlight-media img.main-photo {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-height: 410px;
  object-fit: cover;
}

.crest-badge {
  position: absolute;
  bottom: -18px;
  right: 18px;
  background: var(--navy-950);
  color: #ffffff;
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--shadow-md);
}

.crest-badge img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

/* City / Locations */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.city-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.city-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
  color: var(--navy-900);
}

.city-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Blog Meta */
.blog-meta {
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

/* Contact & Demo Box */
.contact-box {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #ffffff;
  border-radius: 22px;
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid rgba(212, 166, 74, 0.3);
  box-shadow: var(--shadow-lg);
}

.contact-box h2,
.contact-box h3 {
  color: #ffffff;
}

.contact-box p {
  color: #cbd5e1;
}

.contact-info-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.contact-info-list a {
  color: var(--gold-light);
  font-weight: 600;
}

.demo-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.demo-card h3 {
  color: var(--navy-900);
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--navy-900);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
}

/* Footer */
footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 4rem 0 1.85rem;
  border-top: 2px solid rgba(212, 166, 74, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1.5px solid var(--gold);
}

footer h4 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

footer ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

footer a {
  color: #94a3b8;
}

footer a:hover {
  color: var(--gold-light);
}

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

/* Blog Article Layout */
.article-hero {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #ffffff;
  padding: 3.5rem 0 2.75rem;
}

.article-hero h1 {
  color: #ffffff;
}

.article-hero p {
  color: #cbd5e1;
}

.breadcrumb {
  font-size: 0.86rem;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: var(--gold-light);
}

.article-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 1.4rem 0 0.5rem;
}

.article-content p {
  margin-bottom: 1.05rem;
}

.article-content ul {
  margin: 0 0 1.25rem 1.4rem;
  display: grid;
  gap: 0.45rem;
}

.cta-banner {
  background: var(--primary-light);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .grid-3,
  .grid-2,
  .hero-trust,
  .hero-card ul.mini-checks {
    grid-template-columns: 1fr;
  }
}
