/*
Theme Name: CalNeuro Personal
Theme URI: https://bjornlobomd.com
Author: California Neurosurgical Institute
Author URI: https://bjornlobomd.com
Description: Custom personal brand theme for Bjorn Lobo MD, neurosurgeon at California Neurosurgical Institute.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: calneuro-personal
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  --navy:        #0B1F3A;
  --navy-light:  #132844;
  --charcoal:    #1E2C3A;
  --gold:        #C9A84C;
  --gold-light:  #D4B55C;
  --gold-pale:   #F5EDD4;
  --white:       #FFFFFF;
  --off-white:   #F7F5F0;
  --text:        #1A1A2E;
  --text-muted:  #5C6878;
  --border:      #DDD9D0;
  --shadow-sm:   0 2px 8px rgba(11,31,58,0.08);
  --shadow-md:   0 4px 24px rgba(11,31,58,0.12);
  --shadow-lg:   0 8px 48px rgba(11,31,58,0.18);
  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.25s ease;
  --font-sans:   'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display:'Cormorant Garamond', 'Garamond', Georgia, serif;
  --font-serif:  Georgia, 'Times New Roman', serif;
  --max-width:   1160px;
  --header-h:    80px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 56px 0; }
.section--lg { padding: 112px 0; }

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section__title--light { color: var(--white); }

.section__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
}

.section__subtitle--light { color: rgba(255,255,255,0.75); }

.text-center { text-align: center; }
.text-center .section__subtitle { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

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

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

/* ==========================================================================
   Gold Divider
   ========================================================================== */
.gold-rule {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 20px 0 28px;
  border: none;
}

.gold-rule--center { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.site-logo__name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.site-logo__title {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
  transition: color var(--transition);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* Active page — permanent gold hairline, full opacity */
.site-nav a.current-menu-item,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a.current-menu-item::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold);
  opacity: 1;
}

.nav-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

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

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav__close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Photo fills the entire hero section */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
  background-color: var(--navy);
  z-index: 0;
}

/* Directional gradient: very dark left (text readable), lighter right (face visible) */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11,31,58,0.97) 0%,
    rgba(11,31,58,0.93) 38%,
    rgba(11,31,58,0.72) 58%,
    rgba(11,31,58,0.30) 78%,
    rgba(11,31,58,0.15) 100%
  );
  z-index: 1;
}

/* Bottom vignette so badges stay legible */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,0.55) 0%, transparent 35%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 660px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero__name span { color: var(--gold); }

.hero__credential {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__tagline {
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.90);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero__tagline-sub {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Award badges row */
.hero__badges {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__badge-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__badge-name {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* ==========================================================================
   ABOUT PREVIEW (Homepage)
   ========================================================================== */
.about-preview {
  background: var(--off-white);
}

.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview__image-wrap {
  position: relative;
}

.about-preview__image {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 20%;
}

.about-preview__image--placeholder {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  z-index: 1;
}

.about-preview__credentials {
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-preview__cred {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.about-preview__cred::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}

/* ==========================================================================
   EXPERTISE SECTION (Homepage)
   ========================================================================== */
.expertise-section {
  background: var(--navy);
}

.expertise-section .section__title,
.expertise-section .section__eyebrow {
  color: var(--white);
}

.expertise-section .section__subtitle {
  color: rgba(255,255,255,0.6);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.expertise-item {
  padding: 60px 52px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.expertise-item__num {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.expertise-item__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.expertise-item__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.8;
  margin-bottom: 32px;
}

.expertise-item__conditions {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.28);
  line-height: 2.2;
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* ==========================================================================
   TESTIMONIALS SECTION — editorial jewel-box treatment
   ========================================================================== */
.testimonials-section {
  background: var(--navy);
}

.testimonials-section .section__eyebrow {
  color: rgba(201,168,76,0.7);
  letter-spacing: 0.18em;
}

.testimonials-section .section__title {
  font-family: var(--font-display);
  color: var(--white);
}

/* 3-column grid, hairline dividers, no card backgrounds */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.07);
}

.testimonial-card {
  padding: 52px 44px;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
}

/* Large opening quotation mark in display serif */
.testimonial-card__open {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.75;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 20px;
  display: block;
  font-style: normal;
  user-select: none;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  flex: 1;
  margin: 0 0 36px;
}

/* Thin gold rule + author byline */
.testimonial-card__footer {}

.testimonial-card__rule {
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin-bottom: 14px;
}

.testimonial-card__author {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.testimonial-card__detail {
  display: block;
  font-size: 0.75rem;
  color: rgba(201,168,76,0.55);
  letter-spacing: 0.07em;
  margin-top: 5px;
}

/* Stars hidden — trust bar carries that signal */
.testimonial-card__stars { display: none; }

/* ── Trust bar ── */
.testimonials-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  margin-top: 56px;
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.trust-stat__score {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust-stat__stars {
  color: var(--gold);
  font-size: 0.875rem;
  letter-spacing: 4px;
  opacity: 0.85;
}

.trust-stat__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.trust-stat__divider {
  width: 1px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ==========================================================================
   VIDEOS SECTION (Homepage Grid)
   ========================================================================== */
.videos-section {
  background: var(--white);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.video-card__thumb {
  position: relative;
  padding-top: 56.25%;
  background: var(--navy);
  overflow: hidden;
}

.video-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.video-card:hover .video-card__thumb img {
  transform: scale(1.03);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,31,58,0.35);
  transition: background var(--transition);
}

.video-card:hover .video-card__play {
  background: rgba(11,31,58,0.2);
}

.play-icon {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.video-card:hover .play-icon {
  transform: scale(1.1);
  background: var(--gold-light);
}

.play-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--navy);
  margin-left: 3px;
}

.video-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.video-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 3px 8px;
  border-radius: 2px;
}

.video-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}

.video-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.video-card__title a:hover { color: var(--gold); }

.video-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-card__meta::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

/* ==========================================================================
   CONTACT CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner__text .section__title { color: var(--white); margin-bottom: 8px; }

.cta-banner__text p {
  color: rgba(255,255,255,0.72);
  font-size: 1.0625rem;
  margin: 0;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
}

.about-bio {
  background: var(--white);
}

.about-bio__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-bio__portrait {
  margin-bottom: 40px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(11,31,58,0.12);
}

.about-bio__portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 20%;
}

.about-bio__text h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-bio__text p {
  font-size: 1.0625rem;
  color: #3a4a5a;
  line-height: 1.8;
}

.credentials-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border-left: 4px solid var(--gold);
}

.credentials-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

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

.credential-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credential-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.credential-item__value {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 500;
}

/* Conditions & Procedures */
.conditions-section {
  background: var(--off-white);
}

.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.conditions-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.conditions-block h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}

.conditions-block li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.conditions-block li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.conditions-block li:last-child { border-bottom: none; }

/* Awards section */
.awards-section { background: var(--navy); }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.award-item {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), background var(--transition);
}

.award-item:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.award-item__year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.award-item__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* ==========================================================================
   VIDEO BLOG ARCHIVE
   ========================================================================== */
.blog-header {
  background: var(--navy);
  padding: 140px 0 60px;
}

.videos-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.blog-sidebar {
  display: none; /* Can enable if needed */
}

/* Video Blog — coming-soon empty state */
.video-coming-soon {
  text-align: center;
  padding: 80px 40px;
  max-width: 640px;
  margin: 0 auto;
}

.video-coming-soon__icon {
  width: 72px;
  height: 72px;
  color: var(--gold);
  margin: 0 auto 28px;
}

.video-coming-soon__icon svg {
  width: 100%;
  height: 100%;
}

.video-coming-soon h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.video-coming-soon > p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.video-coming-soon__topics {
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--off-white);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   SINGLE VIDEO POST
   ========================================================================== */
.single-video {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  background: var(--white);
}

.single-video__container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.single-video__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.single-video__title {
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.single-video__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.single-video__meta span { display: flex; align-items: center; gap: 6px; }

/* YouTube embed */
.video-embed-wrap {
  position: relative;
  padding-top: 56.25%;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.single-video__content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #3a4a5a;
}

.single-video__content h2 { font-size: 1.5rem; color: var(--navy); margin: 2rem 0 1rem; }
.single-video__content h3 { font-size: 1.25rem; color: var(--navy); margin: 1.75rem 0 0.75rem; }
.single-video__content ul, .single-video__content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.single-video__content li { margin-bottom: 0.5rem; }

.video-nav {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-nav__link {
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

.video-nav__link:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.video-nav__link--next { text-align: right; }

.video-nav__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.video-nav__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-page {
  padding-top: calc(var(--header-h) + 0px);
  background: var(--off-white);
  min-height: 100vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-info h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-locations {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-item {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.location-item__name {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.location-item__address {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 6px;
}

.location-item__phone {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.location-item__phone a {
  color: var(--gold);
  font-weight: 600;
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h2 {
  font-size: 1.625rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: var(--white);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control { cursor: pointer; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #070F1C;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand__logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.footer-brand__title {
  font-size: 0.6875rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

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

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   GENERIC PAGE CONTENT
   ========================================================================== */
.page-content {
  padding: calc(var(--header-h) + 48px) 0 80px;
}

.page-content__inner {
  max-width: 800px;
  margin: 0 auto;
}

.entry-content h2 { font-size: 1.75rem; color: var(--navy); margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.375rem; margin: 1.75rem 0 0.75rem; }
.entry-content p { color: #3a4a5a; line-height: 1.8; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.5rem; color: #3a4a5a; }

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 24px 80px;
}

.error-404__code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}

.error-404__title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.error-404__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ==========================================================================
   SCHEMA / Accessibility utilities
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-item:nth-child(2) { border-right: none; }
  .expertise-item:nth-child(3) { border-right: none; border-bottom: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card:nth-child(even) { border-right: none; }
  .testimonial-card:nth-child(5),
  .testimonial-card:nth-child(6) { border-bottom: none; }
  .videos-grid,
  .videos-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview__grid,
  .about-bio__grid { grid-template-columns: 1fr; gap: 48px; }
  .about-preview__image-wrap { max-width: 480px; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .conditions-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }

  .site-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero__badges { gap: 20px; }

  /* Mobile expertise — single column open list */
  .expertise-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .expertise-item {
    padding: 44px 28px;
    border-right: none;
  }
  .expertise-item:last-child { border-bottom: none; }

  /* Mobile testimonial carousel — horizontal scroll-snap */
  .testimonials-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding-bottom: 20px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid .testimonial-card {
    min-width: 85vw;
    scroll-snap-align: start;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.07);
    border-bottom: none;
  }

  .testimonials-trust-bar {
    flex-direction: column;
    gap: 32px;
    padding: 36px 24px;
  }
  .trust-stat__divider { width: 48px; height: 1px; }

  .videos-grid,
  .videos-archive-grid { grid-template-columns: 1fr; }

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

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

  .video-nav { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .awards-grid { grid-template-columns: 1fr; }
  .hero__name { font-size: 2.25rem; }
}
