/* ==========================================================================
   Highland Hope Family Medicine — Shared Stylesheet
   Brand palette sampled directly from the official logo: deep navy,
   gold/mustard accent, and teal-mint mountain tones.
   (Variable names kept as-is from the original theme so every rule below
   still works — only the color values changed.)
   ========================================================================== */

:root {
  --color-forest: #14324f;         /* was deep green -> now primary navy */
  --color-forest-dark: #0a2036;    /* was darker green -> now darkest navy (header/footer bands) */
  --color-forest-light: #2f6d92;   /* was lighter green -> now medium logo blue */
  --color-terracotta: #b3861f;     /* was terracotta -> now logo gold/mustard accent */
  --color-terracotta-dark: #8f6c18;/* gold hover/dark state */
  --color-cream: #f7fafa;          /* was warm cream -> now cool off-white base */
  --color-oat: #e6f4f1;            /* was oat -> now light mint tint from the mountain layers */
  --color-oat-dark: #c9e6e0;       /* light mint border/divider tone */
  --color-text: #16283a;           /* was warm brown -> now dark navy-gray body text */
  --color-text-light: #55697a;     /* muted blue-gray secondary text */
  --color-white: #ffffff;

  --font-heading: "Lora", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  --max-width: 1150px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(10, 32, 54, 0.14);
  --transition: 0.2s ease;
}

/* ---------- Reset & base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-forest-dark);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-terracotta);
  margin-bottom: 0.6rem;
}

.section {
  padding: 72px 0;
}

.section--tight { padding: 48px 0; }

.section--oat { background-color: var(--color-oat); }
.section--forest {
  background-color: var(--color-forest);
  color: var(--color-oat);
}
.section--forest h2,
.section--forest h3 { color: var(--color-white); }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-terracotta);
  color: var(--color-white);
}
.btn-primary:hover {
  background-color: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background-color: transparent;
  border-color: currentColor;
  color: var(--color-forest-dark);
}
.btn-outline:hover {
  background-color: var(--color-forest-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.section--forest .btn-outline {
  color: var(--color-white);
}
.section--forest .btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-forest-dark);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 250, 250, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-oat-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.nav-brand img {
  height: 69px;
  width: auto;
  display: block;
}

.nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nav-member-btn {
  flex-shrink: 0;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}

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

.nav-links .btn {
  padding: 9px 18px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-forest-dark);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 32, 54, 0.42), rgba(10, 32, 54, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 24px;
  margin: 0 auto;
  width: 100%;
}

.hero .eyebrow { color: #e3c26e; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.hero h1 { color: var(--color-white); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-oat);
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.page-hero {
  padding: 110px 0 60px;
  text-align: center;
  background-color: var(--color-oat);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero p.lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-4px); }

.card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-light); margin-bottom: 0; }
.card p + ul { margin-top: 10px; }
.card ul {
  list-style: disc;
  padding-left: 1.15em;
  color: var(--color-text-light);
  line-height: 1.3;
}
.card ul li { margin-bottom: 2px; }
.card ul li:last-child { margin-bottom: 0; }

/* ---------- Two-column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

.split.reverse .split-media { order: 2; }

/* ---------- Pricing callout ---------- */
.price-tag {
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--color-oat-dark);
}
.price-tag .amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--color-terracotta);
  font-weight: 700;
}
.price-tag .amount span {
  font-size: 1.1rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-weight: 600;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 20px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--color-forest-dark);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-oat-dark);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-white);
  transition: border-color var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-terracotta);
}

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

.form-note {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-top: 10px;
}

.form-status {
  margin-top: 14px;
  font-weight: 700;
  display: none;
}
.form-status.visible { display: block; }

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
}

.radio-option {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-text);
  text-transform: none;
  font-size: 1rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-terracotta);
  cursor: pointer;
}

/* ---------- Contact info blocks ---------- */
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info-item .icon {
  font-size: 1.4rem;
  color: var(--color-terracotta);
  flex-shrink: 0;
}
.contact-info-item h3 { margin-bottom: 2px; font-size: 1.05rem; }
.contact-info-item p { margin-bottom: 0; color: var(--color-text-light); }

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1.5px solid var(--color-oat-dark);
  border-radius: var(--radius);
  padding: 6px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-forest-dark);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-terracotta);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  color: var(--color-text-light);
  padding-bottom: 20px;
  margin-bottom: 0;
}

/* ---------- Price list ---------- */
.price-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-list-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  background-color: var(--color-white);
  border: 1.5px solid var(--color-oat-dark);
  border-radius: var(--radius);
  padding: 22px 28px;
}

.price-list-item .price-list-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-forest-dark);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.price-list-item .price-list-note {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.price-list-item .price-list-amount {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-terracotta);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  text-align: center;
  padding: 90px 24px;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 32, 54, 0.78);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: var(--color-oat); max-width: 560px; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-forest-dark);
  color: var(--color-oat);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 14px;
}

.footer-logo-badge img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-grid h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-grid a,
.footer-grid p {
  color: var(--color-oat-dark);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
  transition: color var(--transition);
}
.footer-grid a:hover { color: var(--color-terracotta); }

.footer-bottom {
  border-top: 1px solid rgba(201, 230, 224, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-oat-dark);
}

/* ---------- Service list numbering ---------- */
.service-index {
  color: var(--color-terracotta);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1360px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--color-oat-dark);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 1rem;
    width: 100%;
  }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; text-align: left; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .nav-brand img { height: 44px; }
  .nav-member-btn { padding: 8px 14px; font-size: 0.85rem; }
  .nav { gap: 12px; padding: 12px 16px; }
}
