@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-highlight: rgba(2, 132, 199, 0.35);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --brand-navy: #0a2540;
  --brand-blue: #0284c7;
  --brand-teal: #0d9488;
  --brand-cyan: #06b6d4;
  --brand-indigo: #4f46e5;
  --brand-amber: #d97706;
  
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 14px 35px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow-blue: 0 8px 30px -4px rgba(2, 132, 199, 0.32);
  --shadow-video: 0 20px 45px -10px rgba(10, 37, 64, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* ── Filme de fundo do site inteiro ───────────────────────────────────────────
   Fixo na viewport: continua tocando enquanto a página rola por cima dele.    */
.site-bg-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--bg-main);
}

.site-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* leve overscan: esconde bordas irregulares dos cross-dissolves */
  transform: scale(1.03);
}

/* Véu claro sobre o filme. Mais leve no topo (onde mora o hero, e o filme
   precisa aparecer) e mais fechado embaixo (onde vem o conteúdo denso).
   Medido no quadro mais escuro do loop: pior pixel fica em ~9,5:1 no topo e
   ~13:1 no corpo da página. AA pede 4,5:1. */
.site-bg-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% 26%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg,
      rgba(248, 250, 252, 0.80) 0%,
      rgba(248, 250, 252, 0.52) 26%,
      rgba(248, 250, 252, 0.68) 62%,
      rgba(248, 250, 252, 0.82) 100%);
}

/* Botão de pausa do fundo — WCAG 2.2.2 exige um jeito de parar movimento > 5s */
.bg-motion-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  opacity: 0.55;
}

.bg-motion-toggle:hover,
.bg-motion-toggle:focus-visible {
  opacity: 1;
  color: var(--brand-blue);
  border-color: var(--border-highlight);
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.content-layer {
  position: relative;
  z-index: 2;
}

/* Telas pequenas: o filme continua tocando, só sem o overscan */
@media (max-width: 640px) {
  .site-bg-video {
    transform: none;
  }
  .site-bg-scrim {
    background:
      linear-gradient(180deg,
        rgba(248, 250, 252, 0.82) 0%,
        rgba(248, 250, 252, 0.62) 26%,
        rgba(248, 250, 252, 0.76) 62%,
        rgba(248, 250, 252, 0.86) 100%);
  }
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-teal);
}

/* Nav & Language Control */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

#main-nav ul {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

#main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

#main-nav a:hover {
  color: var(--brand-blue);
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--brand-navy);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.25);
}

.btn-nav-contact {
  background: rgba(2, 132, 199, 0.08);
  color: var(--brand-blue) !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.btn-nav-contact:hover {
  background: var(--brand-blue) !important;
  color: #fff !important;
  border-color: var(--brand-blue);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--brand-navy);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  padding: 48px 0 54px;
  text-align: center;
  position: relative;
}

/* Hero Video Showcase Player */
.hero-video-container {
  max-width: 820px;
  margin: 0 auto 32px;
  position: relative;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a1120;
  box-shadow: var(--shadow-video);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.hero-video-frame:hover {
  box-shadow: 0 24px 55px -8px rgba(10, 37, 64, 0.24);
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.15) 0%, rgba(10, 25, 47, 0.45) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-video-frame:hover .hero-video-overlay {
  opacity: 1;
}

.hero-video-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.video-controls-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: auto;
}

.video-ctrl-btn {
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.video-ctrl-btn:hover {
  background: var(--brand-blue);
  transform: scale(1.08);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: var(--brand-teal);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 6px var(--brand-teal);
}

/* Highlighted Tagline */
.hero-highlight-tagline {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  max-width: 960px;
  margin: 0 auto 20px;
}

.hero-highlight-tagline span {
  background: linear-gradient(135deg, var(--brand-navy) 20%, var(--brand-blue) 70%, var(--brand-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: var(--shadow-glow-blue);
  transition: var(--transition);
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--text-primary);
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

/* Quick Metrics Bar */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.metric-item {
  text-align: center;
  padding: 8px 12px;
}

.metric-item:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Section Shared */
.section {
  padding: 84px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Medical Ultrasound Services Section */
.medical-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.medical-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue), var(--brand-navy));
}

.medical-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.medical-intro-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--brand-navy);
}

.medical-intro-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 780px;
}

.emergency-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.25);
  color: #be123c;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

.modalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.modality-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.modality-card:hover {
  border-color: var(--border-highlight);
  background: #ffffff;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.modality-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.modality-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.12);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.modality-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.modality-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modality-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modality-list li::before {
  content: '✓';
  color: var(--brand-teal);
  font-weight: 800;
  font-size: 0.85rem;
}

.medical-disclaimer-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Digital Products & Apps Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.product-thumb {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 22px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.product-thumb.cover-mode img {
  object-fit: cover;
}

.product-card:hover .product-thumb img {
  transform: scale(1.04);
}

.product-category-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: fit-content;
}

.tag-ai { background: rgba(2, 132, 199, 0.1); color: var(--brand-blue); border: 1px solid rgba(2, 132, 199, 0.25); }
.tag-edu { background: rgba(13, 148, 136, 0.1); color: var(--brand-teal); border: 1px solid rgba(13, 148, 136, 0.25); }
.tag-music { background: rgba(217, 119, 6, 0.1); color: var(--brand-amber); border: 1px solid rgba(217, 119, 6, 0.25); }
.tag-academy { background: rgba(225, 29, 72, 0.1); color: #be123c; border: 1px solid rgba(225, 29, 72, 0.25); }
.tag-phspone { background: rgba(234, 179, 8, 0.15); color: #b45309; border: 1px solid rgba(234, 179, 8, 0.35); }

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.product-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.product-link-btn:hover {
  color: var(--brand-navy);
  transform: translateX(3px);
}

/* Director / Founder Profile Section */
.director-section {
  padding: 84px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.director-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-subtle);
}

.director-photo-col {
  text-align: center;
  position: relative;
}

.director-img-wrap {
  width: 260px;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-hover);
  position: relative;
  background: #0f172a;
}

.director-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.director-badge-verified {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #ffffff;
  border: 1px solid var(--brand-teal);
  color: var(--brand-teal);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.director-credentials-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.director-info-col h3 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.director-role {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.director-bio {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.director-socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.btn-social.linkedin {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
}

.btn-social.linkedin:hover {
  background: #084e96;
  transform: translateY(-2px);
}

.btn-social:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

/* Institutional / CNPJ Data Box */
.company-data-card {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-subtle);
}

.company-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.data-cell h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 700;
}

.data-cell p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy);
}

/* Contact / Support Section */
.contact-section-card {
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  box-shadow: var(--shadow-subtle);
}

.contact-section-card h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 14px;
}

.contact-section-card p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.contact-links-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-navy);
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
  transition: var(--transition);
}

.contact-email-btn:hover {
  background: var(--brand-blue);
  transform: translateY(-2px);
}

/* Footer */
footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links-col h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links-col a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

/* Policy Pages */
.policy-container {
  max-width: 820px;
  margin: 48px auto 96px;
  padding: 0 24px;
}

.policy-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.policy-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
  font-weight: 800;
}

.policy-content section {
  margin-bottom: 32px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--brand-navy);
  font-weight: 700;
}

.policy-content p, .policy-content li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

.policy-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Responsive & Mobile Drawer */
@media (max-width: 992px) {
  .director-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }
  .director-credentials-list {
    align-items: center;
  }
  .director-socials {
    justify-content: center;
  }
  .metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  
  #main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100vw;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
  }

  #main-nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .nav-right-group {
    gap: 12px;
  }

  .hero-highlight-tagline {
    font-size: 2.1rem;
  }

  .metrics-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metric-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
  }

  .medical-intro {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
