/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Brand palette (from your logo) */
:root {
  --brand-pink: #ee8b99;
  --brand-charcoal: #6d6966;
  --brand-gray: #918483;
  --brand-light: #e9e6e6;

  --bg-page: #ffffff;
  --bg-section: #ffffff;
  --bg-alt: #f5f3f4;

  --text-dark: #2f2c2a;
  --text-muted: #5f5956;

  --border: #e2ddde;

  --link: #6d6966;
  --link-hover: #ee8b99;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(47, 44, 42, 0.08);

  --container: 1100px;
}

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-page);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem; /* equal side padding everywhere */
}

.section {
  padding: 4rem 0;
  background: transparent;
}

.section-light {
  background: var(--bg-alt);
}

h2, h3 {
  color: var(--brand-charcoal);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

h4 {
  color: var(--brand-gray);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
}

/* NAVBAR */
.navbar {
  background: var(--brand-charcoal);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo img {
  height: 120px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--brand-pink);
}

/* HERO */
.hero {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg-page));
}

.hero h1 {
  color: var(--brand-charcoal);
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  color: var(--brand-gray);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* HIGHLIGHTS */
.highlights {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  text-align: center;
  padding: 1.25rem 0;
  gap: 0.75rem;
}

.highlights-grid > div {
  color: var(--brand-charcoal);
  font-weight: 600;
}

/* GRID */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* IMAGE BOXES */
.image-box {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Slightly soften all section images EXCEPT provider image */
.image-box img {
  filter: saturate(0.92);
}
.provider-image img {
  filter: none; /* keep provider true-to-life */
}

/* ABOUT polish */
.about-grid {
  align-items: start;
}

.provider-image {
  display: flex;
  justify-content: center;
}

.provider-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* NOTE */
.note {
  background: #f7f5f6;
  border-left: 6px solid var(--brand-pink);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: var(--text-muted);
}

/* CONTACT + SPRUCE CALLOUT */
.contact-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.spruce-callout {
  background: #f6f2f3; /* warm, matches logo */
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.spruce-intro {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--brand-charcoal);
  text-align: center;
}

/* Clickable telehealth image */
.spruce-link {
  display: inline-block;
  width: 100%;
}

.spruce-link img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spruce-link:hover img {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(47, 44, 42, 0.16);
}

/* FOOTER */
.footer {
  background: var(--brand-charcoal);
  color: #fff;
  padding: 1.5rem 0;
}

.footer p {
  color: #fff;
  text-align: center;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* Mobile: image above text in About is usually best */
  .provider-image {
    order: -1;
  }
}

/* Remove card styling from provider image container */
.provider-image {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}


.image-box img {
  border-bottom: 6px solid var(--brand-pink);
  border-right: 6px solid var(--brand-pink);
  border-radius: var(--radius);
}

/* Entire Spruce card clickable */
.spruce-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.spruce-callout {
  background: #f6f2f3;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover effect on whole card */
.spruce-card:hover .spruce-callout {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(47, 44, 42, 0.12);
  border-color: var(--brand-pink);
}

/* Image inside card */
.spruce-callout img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.spruce-card:hover .spruce-callout {
  box-shadow:
    0 14px 28px rgba(47, 44, 42, 0.12),
    0 0 0 3px rgba(238, 139, 153, 0.15);
}


/* Credential badge under provider image */
.credential-badge {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.credential-badge img {
  width: 100%;
  max-width: 260px;  /* adjust 180–260 if you want */
  height: auto;
  display: block;
}

.credential-badge img {
  filter: drop-shadow(0 8px 18px rgba(47, 44, 42, 0.12));
}

/* Make provider image + badge stack vertically */
.provider-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* WHO I HELP LIST */
.who-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.who-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.who-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-pink);
  font-weight: bold;
}

.who-wrapper {
  position: relative;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 16px;
}

/* Pink accent "peek" border effect */
.who-wrapper::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: var(--brand-pink);
  z-index: -1;
  opacity: 0.5;
}

.who-wrapper {
  padding: 2rem;
  border-right: 6px solid var(--brand-pink);
  border-bottom: 6px solid var(--brand-pink);
  border-radius: 12px;
}
