/* BadrWorx — shared styles */

:root {
  --navy: #1b2a41;
  --navy-dark: #12203a;
  --teal: #029e72;
  --teal-dark: #037a59;
  --green: #029e72;
  --green-light: #06b98a;
  --ink: #24303e;
  --muted: #5b6b7c;
  --bg: #fafaf7;
  --card: #ffffff;
  --line: #e4e6e0;
  --radius: 10px;
  --maxw: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: var(--teal);
}

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

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

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

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.brand span {
  color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.site-nav a {
  color: #d6dce6;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  border-bottom-color: var(--green);
}

.site-nav a.nav-cta {
  background: var(--green);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border-bottom: none;
  font-weight: 600;
}

.site-nav a.nav-cta:hover {
  background: var(--green-light);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, #0d1a30 100%);
  color: #fff;
  padding: 5.5rem 0 6rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

.hero .lede {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: #c3ccd9;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.hero-page {
  padding: 3.5rem 0;
}

.hero-page h1 {
  margin-bottom: 0.5rem;
}

.hero-page .lede {
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-light);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  border-color: #fff;
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover {
  background: var(--teal-dark);
}

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

/* ---------- Sections ---------- */

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: #f1f3ee;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-bottom: 0.5rem;
  color: var(--navy);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.75rem;
}

/* ---------- Cards ---------- */

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

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

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

.card .card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

/* ---------- Meet the coach (home) ---------- */

.coach-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 3rem;
  align-items: center;
}

.coach-photo {
  margin: 0;
}

.coach-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(18, 32, 58, 0.18);
}

.coach-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.coach-text h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-bottom: 1rem;
}

.coach-text p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.coach-text .btn {
  margin-top: 0.5rem;
}

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

  .coach-photo {
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ---------- About intro (photo + bio) ---------- */

.about-intro {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(18, 32, 58, 0.18);
}

.about-photo figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.6rem;
}

.about-intro-text h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.about-intro-text p {
  margin-bottom: 1.1rem;
}

@media (max-width: 780px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-photo {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ---------- Service detail blocks ---------- */

.service-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-bottom: 1.5rem;
}

.service-block h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-block ul {
  margin: 1rem 0 1.25rem 1.25rem;
  color: var(--muted);
}

.service-block li {
  margin-bottom: 0.4rem;
}

/* ---------- Prose (About) ---------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  color: var(--navy);
  margin: 2.25rem 0 0.75rem;
}

.prose p {
  margin-bottom: 1.1rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: #d8ece7;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-panel h2 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-panel > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.calendly-embed {
  min-height: 660px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

/* ---------- Intake form ---------- */

.intake-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #c9cec5;
  border-radius: 6px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-weight: 500;
}

.form-status.success {
  background: #e6f6f0;
  border: 1px solid #9ed9c4;
  color: var(--teal-dark);
}

.form-status.error {
  background: #fbeeee;
  border: 1px solid #e5b8b8;
  color: #a33a3a;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: #9aa7b8;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: #c3ccd9;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
