/* CNM Counselling — Refined Stylesheet */
/* Palette: warm neutrals, muted stone accent, serif elegance */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #3a3a3a;
  background: #f5f4f1;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #7a6e5d; text-decoration: none; transition: color 0.2s; }
a:hover { color: #5a4f41; text-decoration: underline; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1e1e1e;
  line-height: 1.3;
  font-weight: 400;
}

h1 { font-size: 2.6rem; margin-bottom: 1rem; letter-spacing: -0.5px; }
h2 { font-size: 1.8rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.75rem; font-weight: 600; }

p { margin-bottom: 1.25rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wide-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: #edecea;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e0ddd8;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: #1e1e1e;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.site-logo span {
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links a {
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-links a:hover {
  color: #1e1e1e;
  text-decoration: none;
}

.nav-links a.active {
  color: #1e1e1e;
  font-weight: 600;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1e1e1e;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: #3b3b3b;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(60,55,48,0.95) 0%, rgba(50,50,50,0.85) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.hero .subheadline {
  font-size: 1.3rem;
  color: #c8c3ba;
  font-style: italic;
  margin-bottom: 2.5rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 1.25rem;
  color: #c8c3ba;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* Decorative line under hero heading */
.hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: #9e9385;
  margin: 1rem auto 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  text-align: center;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.btn-primary {
  background: #3b3b3b;
  color: #fff;
  border: 1px solid #3b3b3b;
}

.btn-primary:hover {
  background: #555;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-secondary {
  background: transparent;
  color: #3b3b3b;
  border: 1px solid #3b3b3b;
}

.btn-secondary:hover {
  background: #3b3b3b;
  color: #fff;
  text-decoration: none;
}

.btn-white {
  background: #fff;
  color: #1e1e1e;
  border: 1px solid #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-group {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-secondary-text {
  font-size: 0.9rem;
  color: #888;
}

.cta-secondary-text a {
  color: #7a6e5d;
  text-decoration: underline;
}

.hero .cta-secondary-text {
  color: #a09a90;
}

.hero .cta-secondary-text a {
  color: #d4cfc6;
}

/* ===== CONTENT SECTIONS ===== */
.section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Decorative line under section h2 */
section > .container > h2:first-child::after,
.section-intro h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #b5ad9e;
  margin: 0.75rem 0 0;
}

.section-intro h2::after {
  margin: 0.75rem auto 0;
}

/* Steps / Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}

.step {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border: 1px solid #e0ddd8;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  color: #7a6e5d;
  border: 1px solid #7a6e5d;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
}

/* Lists */
.styled-list {
  list-style: none;
  padding: 0;
}

.styled-list li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  line-height: 1.65;
}

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: #b5ad9e;
  border-radius: 50%;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  text-align: center;
}

.testimonial {
  max-width: 580px;
  margin: 0 auto 2.5rem;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid #e0ddd8;
  text-align: left;
  position: relative;
}

/* Decorative quotation mark */
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  font-size: 3.5rem;
  color: #d4cfc6;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1;
}

.testimonial blockquote {
  font-style: italic;
  font-size: 1.02rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.75;
  padding-top: 0.5rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: #7a6e5d;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  border-bottom: 1px solid #e0ddd8;
  padding: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #1e1e1e;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.5;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: #b5ad9e;
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 0 1.25rem 0;
}

.faq-answer p {
  color: #555;
  line-height: 1.75;
}

/* ===== FEES TABLE ===== */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #fff;
  border: 1px solid #e0ddd8;
}

.fees-table th {
  background: #3b3b3b;
  color: #fff;
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fees-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table .fee-highlight {
  font-weight: 700;
  color: #1e1e1e;
}

/* ===== RESOURCE CARDS ===== */
.resource-group {
  margin-bottom: 3rem;
}

.resource-card {
  background: #fff;
  padding: 1.5rem 1.75rem;
  border: 1px solid #e0ddd8;
  margin-bottom: 0.75rem;
}

.resource-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1e1e1e;
}

.resource-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.resource-card .resource-contact {
  font-weight: 600;
  color: #7a6e5d;
  font-size: 0.9rem;
}

/* ===== CRISIS BANNER ===== */
.crisis-banner {
  background: #faf5f5;
  border: 1px solid #e0d0d0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.crisis-banner h3 {
  color: #7a4444;
  margin-bottom: 0.5rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1e1e1e;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #d4d0ca;
  font-family: inherit;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7a6e5d;
  box-shadow: 0 0 0 3px rgba(122,110,93,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
  background: #3b3b3b;
  color: #fff;
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.final-cta h2 {
  color: #fff;
  font-weight: 400;
}

.final-cta h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #9e9385;
  margin: 0.75rem auto 0;
}

.final-cta p {
  color: #b0aca5;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.final-cta .cta-secondary-text {
  color: #908c85;
}

.final-cta .cta-secondary-text a {
  color: #d4cfc6;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #2a2a2a;
  color: #999;
  padding: 3rem 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.8;
}

.site-footer .footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  color: #e0e0e0;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: #b5ad9e;
}

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

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.footer-nav a {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #e0e0e0;
  text-decoration: none;
}

.footer-tagline {
  margin-top: 1rem;
  color: #666;
  font-size: 0.8rem;
}

/* ===== APPROACH CARDS ===== */
.approach-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.approach-card {
  background: #fff;
  padding: 2rem;
  border: 1px solid #e0ddd8;
  border-top: 2px solid #7a6e5d;
}

.approach-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

/* ===== LOSS TYPE SECTIONS ===== */
.loss-type {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #e0ddd8;
}

.loss-type:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.loss-type h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.15rem;
}

/* ===== BARRIERS / OBJECTIONS ===== */
.barrier {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0ddd8;
}

.barrier:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.barrier h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #1e1e1e;
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ===== TUBE STATIONS ===== */
.stations-list {
  list-style: none;
  padding: 0;
}

.stations-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.stations-list .station-name {
  font-weight: 600;
  color: #1e1e1e;
  font-size: 0.95rem;
}

.stations-list .station-lines {
  color: #888;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 4rem 0; }
  section { padding: 3.5rem 0; }

  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .approach-cards { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 0.5rem 2rem 1rem;
    gap: 0;
    border-bottom: 1px solid #e0ddd8;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }

  .nav-links.open { display: flex; }

  .nav-links li {
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0efed;
  }

  .nav-links li:last-child { border-bottom: none; }

  .footer-nav { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero .subheadline { font-size: 1.1rem; }
  .btn { width: 100%; }
  .container, .wide-container { padding: 0 1.25rem; }
}
