:root {
  --okla-clinical-navy: #12264A;
  --okla-emerald: #1FA67A;
  --okla-darker-emerald: #147A5A;
  --okla-mint-tint: #E6F4EE;
  --okla-ink: #1E2A3A;
  --okla-savanna-gold: #D9A23A;
  --okla-white: #FFFFFF;
  --okla-light-bg: #F8FAFB;
  --okla-slate-gray: #5B6878;
  --okla-slate-grey: #5B6878;
  --okla-teal: #1FA67A;
  --okla-border: #E5E7EB;
  --okla-faint: #8A96A5;
}

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

.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.15s; }
.fade-up.delay-2 { transition-delay: 0.3s; }
.fade-up.delay-3 { transition-delay: 0.45s; }
.fade-up.delay-4 { transition-delay: 0.6s; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--okla-ink);
  line-height: 1.6;
  background: var(--okla-white);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--okla-emerald);
  color: var(--okla-white);
}

.btn-primary:hover {
  background: var(--okla-darker-emerald);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 166, 122, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--okla-emerald);
  border: 2px solid var(--okla-emerald);
}

.btn-outline:hover {
  background: var(--okla-emerald);
  color: var(--okla-white);
}

.btn-navy {
  background: var(--okla-clinical-navy);
  color: var(--okla-white);
}

.btn-navy:hover {
  background: #0e1a3a;
}

.header {
  background: var(--okla-white);
  box-shadow: 0 2px 10px rgba(18, 38, 74, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--okla-ink);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--okla-emerald);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ---- mobile menu ---- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--okla-border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--okla-clinical-navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover { background: var(--okla-mint-tint); }

.mobile-menu {
  display: none;
  width: 100%;
  border-top: 1px solid var(--okla-border);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu a {
  display: block;
  padding: 0.7rem 0.5rem;
  text-decoration: none;
  color: var(--okla-ink);
  font-weight: 500;
  border-radius: 8px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--okla-mint-tint);
  color: var(--okla-darker-emerald);
}

.mobile-menu .mobile-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--okla-border);
}

.mobile-menu .mobile-actions .btn { flex: 1; justify-content: center; }

@media (max-width: 968px) {
  .nav {
    gap: 0.75rem;
  }
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
    font-size: 0.9rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

.cart-btn {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--okla-ink);
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--okla-emerald);
  color: var(--okla-white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, var(--okla-white) 0%, var(--okla-mint-tint) 100%);
  padding: 5rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--okla-clinical-navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--okla-ink);
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(18, 38, 74, 0.15);
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h1,
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--okla-clinical-navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--okla-ink);
  opacity: 0.8;
}

/* ---- media (podcast / video) ---- */
.media-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0B1020;
}

.media-frame audio,
.media-frame video,
.media-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.media-frame audio { height: 44px; }
.media-frame video { max-height: 420px; background: #000; }
.media-frame iframe { aspect-ratio: 16 / 9; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* ---- generic content grid (used by practices / insights) ---- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- generic card ---- */
.card {
  background: var(--okla-white);
  border: 1px solid var(--okla-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.card h4 {
  color: var(--okla-clinical-navy);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  color: var(--okla-slate-gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card p + p { margin-top: 0.6rem; }

.category-card {
  background: var(--okla-white);
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--okla-ink);
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: var(--okla-emerald);
  box-shadow: 0 8px 24px rgba(31, 166, 122, 0.15);
  transform: translateY(-4px);
}

.category-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--okla-clinical-navy);
}

/* ---- contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}
.contact-grid > div { min-width: 0; }
.contact-grid p,
.contact-grid a { overflow-wrap: anywhere; }
.contact-form { min-width: 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--okla-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(18, 38, 74, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #E5E7EB;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(18, 38, 74, 0.15);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 250px;
  background: var(--okla-mint-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--okla-emerald);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--okla-clinical-navy);
  margin-bottom: 0.5rem;
  text-decoration: none;
  display: block;
}

.product-name:hover {
  color: var(--okla-emerald);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--okla-emerald);
  margin-bottom: 1rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.footer {
  background: var(--okla-clinical-navy);
  color: var(--okla-white);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-about p {
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--okla-white);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--okla-emerald);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-form {
    padding: 1.25rem !important;
  }
  .contact-grid .btn {
    justify-content: center;
  }
  .nav {
    gap: 0.65rem;
    padding: 0.75rem 0;
  }
  .logo img {
    height: 42px;
  }
  .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.8rem;
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .nav-links a {
    white-space: nowrap;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  .nav-actions .btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
  }
  .nav-toggle,
  .mobile-menu {
    display: none !important;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .section-header h1,
  .section-header h2 {
    font-size: 1.85rem;
  }
  .section-header p {
    font-size: 1rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 2.5rem 0;
  }
}
