/* Base */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --bg-alt2: #f1f6ff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: #eef0f4;
  --accent: #2563eb;
  --accent-50: #e8f0ff;
  --accent-100: #dbeafe;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Heebo, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6
}

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

a {
  color: inherit
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px
}

.narrow {
  max-width: 900px
}

.h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px
}

.h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px
}

.lead {
  font-size: 18px
}

.block {
  display: block
}

.text-accent {
  color: var(--accent)
}

.center {
  text-align: center
}

.muted {
  color: var(--muted)
}

.small {
  font-size: 14px
}

.mb {
  margin-bottom: 12px
}

.mb-lg {
  margin-bottom: 32px
}

.section {
  padding: 96px 0
}

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

.section.alt2 {
  background: linear-gradient(135deg, var(--bg-alt2), #fff)
}

.row {
  display: flex;
  gap: 12px;
  align-items: center
}

.gap {
  gap: 16px
}

.gap-lg {
  gap: 32px
}

.align-center {
  align-items: center
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px
}

@media(min-width:992px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr
  }

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

  .order-1-md {
    order: 1
  }

  .order-2-md {
    order: 2
  }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0
}

.brand {
  font-weight: 800;
  font-size: 22px
}

.brand-accent {
  color: var(--accent)
}

.nav-links {
  display: none;
  gap: 20px
}

@media(min-width:768px) {
  .nav-links {
    display: flex
  }
}

.nav-link {
  background: none;
  border: 0;
  color: #475569;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 4px;
  transition: color .2s
}

.nav-link:hover {
  color: var(--accent)
}

.nav-link.active {
  color: var(--accent)
}

.mobile-menu {
  display: block;
  border-top: 1px solid var(--border);
  padding: 10px 0
}

@media(min-width:768px) {
  .mobile-menu {
    display: none
  }
}

.mobile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center
}

/* Buttons */
.btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
  transition: transform .15s, background .15s
}

.btn:hover {
  background: #1e50c5;
  transform: translateY(-1px)
}

.btn.outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none
}

.btn.outline:hover {
  background: var(--accent-50)
}

/* Hero */
.hero {
  padding-top: 96px;
  background: linear-gradient(135deg, #fafafa, #fff)
}

.hero-copy .lead {
  max-width: 620px;
  margin: 0 auto 12px 0
}

.hero-art {
  position: relative
}

.coach-card {
  aspect-ratio: 1/1;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow)
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 12px;
  margin: 0 auto
}

.avatar.small {
  width: 88px;
  height: 88px
}

.badge {
  position: absolute;
  left: -12px;
  bottom: -12px;
  background: var(--accent);
  color: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  text-align: center
}

.badge-num {
  font-weight: 800;
  font-size: 22px
}

.badge-text {
  font-size: 12px
}

/* Cards & lists */
.card {
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px
}

.card.white {
  background: #fff
}

.card.center {
  text-align: center
}

.card.hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .12)
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.pill {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px
}

.pill.accent {
  background: #eff6ff;
  border: 2px solid #bfdbfe
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px
}

.stat {
  background: #eff6ff;
  border-radius: 12px;
  padding: 12px;
  text-align: center
}

.stat-num {
  color: var(--accent);
  font-weight: 800;
  font-size: 22px
}

.stat-label {
  color: var(--muted);
  font-size: 12px
}

/* Contact */
.contact {
  background: #0f172a;
  color: #fff
}

.contact .card {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4)
}

.inv {
  color: #e5e7eb
}

.contact-row {
  display: flex;
  gap: 12px;
  align-items: center
}

.circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #e0ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px
}

.circle.inv {
  background: #1d4ed8;
  color: #fff
}

.circle.small {
  width: 44px;
  height: 44px
}

.icon {
  width: 24px;
  height: 24px
}

.icon.sm {
  width: 20px;
  height: 20px
}

/* Beliefs stack */
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px
}

/* Floating action button */
.fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: #22c55e;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .25);
  transition: transform .15s;
  background-image: linear-gradient(180deg, #22c55e, #16a34a)
}

.fab:hover {
  transform: scale(1.05)
}

/* Utilities */
.hero .text-accent {
  display: block
}

.hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 0;
  height: 0
}

/* === Overrides requested 2025‑08‑01 === */

/* 1. Global font refinement */
body {
  font-family: 'Heebo', Arial, sans-serif;
  font-weight: 400;
}

/* 2. Ensure all inline SVG icons appear in accent blue */
.icon {
  stroke: var(--accent);
  fill: none;
}

/* 3. Resume icons inside card title in blue as well (redundant but explicit) */
.card-title .icon {
  stroke: var(--accent);
}

/* 4. Process section styling */
.section #process .card.center {
  text-align: center;
}

.circle {
  width: 72px;
  height: 72px;
  background: var(--accent-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.circle .icon {
  stroke: var(--accent);
  width: 32px;
  height: 32px;
}

.step {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.card.center h3 {
  margin: 8px 0 12px;
  font-size: 20px;
  font-weight: 700;
}

/* Make sure the card hover shadow is subtle */
.card.hover {
  transition: transform .2s, box-shadow .2s;
}

.card.hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
}

/* === Nav font override (2025‑08‑01) === */
.nav,
.nav * {
  font-family: 'Heebo', Arial, sans-serif !important;
}

.brand {
  font-weight: 800;
}

.nav-link {
  font-weight: 600;
  font-size: 16px;
}

/* === Patch 2025‑08‑01 === */

/* Button font */
.btn,
.btn * {
  font-family: 'Heebo', Arial, sans-serif !important;
}

/* Contact section tweaks */
.contact {
  padding: 64px 0;
  /* keep slim */
}

/* Make contact rows horizontal */
.contact .space-y-6,
.contact .space-y-8 {
  display: flex;
  flex-direction: row;
  gap: 64px;
  justify-content: center;
  align-items: flex-start;
}

@media(max-width:767px) {

  .contact .space-y-6,
  .contact .space-y-8 {
    flex-direction: column;
    gap: 24px;
  }
}

.contact-row {
  flex-direction: column;
  text-align: center;
}

.contact-row .circle {
  margin-bottom: 8px;
}

/* Hide white pricing card if exists */
.contact .card.white {
  display: none !important;
}

/* === Patch 2025‑08‑01 (second round) === */

/* Contact items inline */
.contact .space-y-6,
.contact .space-y-8,
.contact .stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  align-items: flex-start;
}

/* Individual contact row nicely centered */
.contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media(max-width:767px) {

  .contact .space-y-6,
  .contact .space-y-8,
  .contact .stack {
    flex-direction: column;
    gap: 24px;
  }
}

/* Remove any residual card/shadow around coach image */
.coach-card {
  background: transparent !important;
  box-shadow: var(--shadow);
  border-radius: 24px;
}

/* Ensure coach image itself fits rounded corners */
.coach-card img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* === Patch 2025‑08‑01 (third pass) === */

/* Force horizontal layout for contact info container */
.contact .grid,
.contact .grid-2,
.contact .space-y-6,
.contact .space-y-8 {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 64px;
}

/* ensure each contact item sticks to its own width */
.contact-row {
  width: 180px;
}

/* Remove any background on coach-card */
.coach-card {
  background: none !important;
  padding: 0;
}

@media(max-width:767px) {
  .nav {
    transition: transform .25s ease;
  }

  .nav.hide {
    transform: translateY(-110%);
  }
}

#about {
  padding-top: 60px !important;

}


.hero {
  background: var(--bg-alt) !important;
}

@media(max-width:767px) {
  .nav .btn {
    margin-left: 12px;
  }
}


@media(max-width:767px) {
  .brand {
    margin-right: 12px;
  }
}

.fab {
  right: 16px;
  left: auto;
}


.fab {
  background: none;
  padding: 0;
}

.fab img {
  display: block;
  width: 48px;
  height: 48px;
}


.fab img {
  border-radius: 50%;
  object-fit: cover;
}


.icon-check {
  color: #22c55e;
}

.icon-target {
  color: #3B82F6;
}

/* .icon-award left to symbol colors */
/* --------- Additional Mobile Fixes 2025-08-06 --------- */
@media (max-width: 767px) {
  .grid-3 {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .grid-3 .card {
    width: 100%;
  }
}

/* === Fixes 2025-08-07 === */
/* Center text vertically next to photo on desktop */
@media (min-width: 992px) {
  #about .copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Center and widen professional background card */
  #resume .grid-2 {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #resume .card {
    max-width: 660px;
  }
}

/* Reduce spacing between text and image on mobile */
@media (max-width: 991px) {
  #about .copy {
    margin-top: 0;
  }

  #about .grid-2 {
    gap: 16px;
  }
}
