/* ===========================================================
   Rock Canyon Counseling — styles.css
   Plain CSS. No frameworks. Mobile-first.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --cream: #FAF5EE;
  --terracotta: #C1694F;
  --terracotta-dark: #A8553D;
  --sage: #8A9E85;
  --brown: #2C1A0E;
  --grey: #6B5B4E;
  --sage-tint: #EEF2EC;

  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1100px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(44, 26, 14, 0.10);
  --nav-h: 66px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h); /* offset sticky nav for anchor links */
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.18;
  font-weight: 600;
  color: var(--brown);
}

h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }

p { color: var(--grey); }
a { color: var(--terracotta); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section {
  padding: 64px 0;
}
@media (min-width: 768px) {
  section { padding: 96px 0; }
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.1rem;
}

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

/* ---------- Buttons / CTAs ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 6px 18px rgba(193, 105, 79, 0.35);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: rgba(44, 26, 14, 0.22);
}
.btn-ghost:hover {
  border-color: var(--brown);
  transform: translateY(-2px);
}
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }

/* ---------- Dev placeholder note ----------
   Visible yellow-highlighted flags marking [PLACEHOLDER] items
   that must be filled in before launch. Remove .dev-note styling
   (or the data-dev attribute) when going live.                    */
.dev-note {
  /* Production: hidden so the site previews clean.
     To show the yellow placeholder flags again during dev,
     change this to: display: inline-block; */
  display: none;
  background: #FFF3B0;
  color: #5c4a00;
  border: 1px dashed #c9a800;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 3px 8px;
  border-radius: 6px;
  margin: 6px 0;
  text-align: left;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
  height: var(--nav-h);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--terracotta); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--terracotta); }
.nav-links .btn { padding: 10px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brown);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(44, 26, 14, 0.1);
    padding: 8px 22px 20px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid rgba(44, 26, 14, 0.07); }
  .nav-links li:last-child { border-bottom: none; padding-top: 12px; }
  .nav-links a { display: block; padding: 14px 4px; }
  .nav-links .btn { text-align: center; padding: 13px 22px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--sage-tint) 0%, var(--cream) 100%);
  padding: 72px 0 80px;
}
@media (min-width: 900px) {
  .hero { padding: 104px 0 116px; }
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.18rem;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

/* Photo placeholder blocks (warm color until real photos added) */
.photo-ph {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.25), transparent 55%),
    linear-gradient(150deg, var(--terracotta) 0%, #d98a6f 60%, var(--sage) 130%);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.photo-ph::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(44, 26, 14, 0.45);
  padding: 8px 12px;
  text-align: center;
}
/* Real photos dropped into the 4:5 slots */
.photo-real {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Who This Is For ---------- */
.who { background: var(--sage-tint); }
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .who-grid { grid-template-columns: 1fr 1fr; } }
.who-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px 26px;
  border-left: 4px solid var(--terracotta);
  box-shadow: 0 4px 14px rgba(44, 26, 14, 0.05);
}
.who-card p { color: var(--brown); font-size: 1.05rem; margin: 0; }
.who-bridge {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--brown);
  max-width: 680px;
  margin: 40px auto 0;
  line-height: 1.35;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
}
.about-photo { aspect-ratio: 4 / 5; width: 100%; }
.about-body h2 { margin-bottom: 20px; }
.about-body p { margin-bottom: 18px; font-size: 1.08rem; }
.about-creds {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.about-creds li {
  background: var(--sage-tint);
  color: var(--brown);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(138, 158, 133, 0.5);
}

/* ---------- Specialties ---------- */
.specialties { background: var(--sage-tint); }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .spec-grid { grid-template-columns: 1fr 1fr 1fr; } }
.spec-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 4px 14px rgba(44, 26, 14, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spec-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}
.spec-icon svg { width: 24px; height: 24px; }
.spec-card h3 { margin-bottom: 8px; }
.spec-card .spec-full {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}
.spec-card p { margin: 0; font-size: 1rem; }

.spec-more {
  text-align: center;
  max-width: 640px;
  margin: 38px auto 0;
  font-size: 1.08rem;
  color: var(--grey);
}

/* ---------- How It Works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  counter-reset: step;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.step {
  position: relative;
  background: var(--sage-tint);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  text-align: center;
}
.step-num {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; }
.how-cta { text-align: center; margin-top: 44px; }

/* ---------- FAQ ---------- */
.faq { background: var(--sage-tint); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--cream);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(44, 26, 14, 0.05);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  padding: 22px 56px 22px 24px;
  position: relative;
  line-height: 1.4;
}
.faq-q:hover { color: var(--terracotta); }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--terracotta);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 24px 24px;
}
.faq-a p { margin: 0; font-size: 1.04rem; }

/* ---------- Book Now ---------- */
.book {
  background: linear-gradient(155deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  text-align: center;
}
.book h2, .book p { color: #fff; }
.book h2 { margin-bottom: 16px; }
.book p { font-size: 1.18rem; max-width: 620px; margin: 0 auto 32px; opacity: 0.95; }
.book .btn-primary {
  background: var(--cream);
  color: var(--terracotta-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.book .btn-primary:hover { background: #fff; }
.book-contact {
  margin-top: 28px;
  font-size: 1.02rem;
  color: #fff;
  opacity: 0.95;
}
.book-contact a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--brown);
  color: #e9ddd2;
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}
.footer p, .footer a { color: #cdbcad; font-size: 0.98rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.86rem;
  color: #a9978a;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

/* ---------- Privacy page ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0;
}
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--grey); margin-bottom: 32px; font-size: 0.95rem; }
.legal h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a.back { display: inline-block; margin-top: 28px; font-weight: 600; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brown);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
