/* ============================================
   MEGAN HUGHES COUNSELLING — Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #FAF7F2;
  --warm-white: #FFFFFF;
  --sage:       #7A9E7E;
  --sage-dark:  #5C7A60;
  --sage-light: #C8DBC9;
  --earth:      #8B6F4E;
  --text:       #2D2D2D;
  --text-muted: #6B6B6B;
  --border:     #E2D9CE;
  --shadow:     rgba(90, 80, 70, 0.08);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', system-ui, sans-serif;

  --max-width: 1100px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}
.btn-primary {
  background: var(--sage);
  color: #fff;
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(90,130,95,0.3); }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 2px solid var(--sage);
}
.btn-outline:hover { background: var(--sage); color: #fff; transform: translateY(-2px); }

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
}
.nav-logo span { color: var(--sage-dark); }

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

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage-dark); }
.nav-links .nav-cta a {
  background: var(--sage);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
}
.nav-links .nav-cta a:hover { background: var(--sage-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ============================================
   HOME PAGE
   ============================================ */

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #EEF5EF 0%, #FAF7F2 60%, #F5EDE0 100%);
  padding: 6rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero-text h1 { margin-bottom: 1.25rem; }

.hero-text .lead {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  max-width: 480px;
}

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

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: var(--sage-light);
  border-radius: 50% 40% 55% 45%;
  z-index: 0;
  opacity: 0.5;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center center;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  /* Sharpness & contrast polish */
  filter: contrast(1.06) brightness(1.02) saturate(1.08);
  /* Soft vignette via box-shadow inset */
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.08),
    0 24px 60px rgba(60, 70, 60, 0.18),
    0 6px 16px rgba(60, 70, 60, 0.1);
  /* Crisp rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-photo:hover {
  transform: scale(1.015);
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.06),
    0 32px 72px rgba(60, 70, 60, 0.22),
    0 8px 20px rgba(60, 70, 60, 0.12);
}

/* Trust bar */
.trust-bar {
  background: var(--warm-white);
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item .icon {
  width: 36px;
  height: 36px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Intro section */
.intro { background: var(--warm-white); }

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}

.intro-text h2 { margin-bottom: 1.25rem; }

.intro-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #EEF5EF, var(--sage-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  font-family: var(--font-serif);
  text-align: center;
  padding: 2rem;
}

/* Specialisms */
.specialisms { background: var(--cream); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { max-width: 560px; margin: 0 auto; }

.specialisms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.specialism-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.specialism-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px var(--shadow); }

.specialism-card .card-icon {
  width: 44px;
  height: 44px;
  background: var(--sage-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.specialism-card h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.specialism-card p { font-size: 0.9rem; }

/* How it works */
.how-it-works { background: var(--warm-white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--sage-dark), #4A6B4E);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--sage-dark);
}

.cta-banner .btn-primary:hover { background: var(--cream); }

/* ============================================
   ABOUT PAGE
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, #EEF5EF 0%, #FAF7F2 100%);
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 560px; margin: 0 auto; font-size: 1.1rem; }

.about-intro { background: var(--warm-white); }

.about-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  filter: contrast(1.06) brightness(1.02) saturate(1.08);
  box-shadow:
    0 24px 60px rgba(60, 70, 60, 0.18),
    0 6px 16px rgba(60, 70, 60, 0.1);
}

.about-text h2 { margin-bottom: 1rem; }

.credential-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.credential-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--sage-light);
  color: var(--sage-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.approach-section { background: var(--cream); }

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

.approach-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--sage);
}

.approach-card h3 { margin-bottom: 0.75rem; color: var(--sage-dark); }
.approach-card p { font-size: 0.95rem; }

/* ============================================
   WHAT I HELP WITH PAGE
   ============================================ */

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.help-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.help-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--shadow); }

.help-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--sage-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.help-card h3 { margin-bottom: 0.5rem; }
.help-card p { font-size: 0.95rem; }

.neurodiversity-note {
  background: linear-gradient(135deg, #EEF5EF, var(--cream));
  border: 1px solid var(--sage-light);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.neurodiversity-note .note-icon {
  font-size: 2.5rem;
}

/* ============================================
   FEES & FAQS PAGE
   ============================================ */

.fees-section { background: var(--warm-white); }

.fees-card {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #EEF5EF, var(--cream));
  border: 1px solid var(--sage-light);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}

.fees-card .price {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--sage-dark);
  line-height: 1;
  margin: 1rem 0 0.25rem;
}

.fees-card .price-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.fees-list {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fees-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.fees-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--sage-light);
  color: var(--sage-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-section { background: var(--cream); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--sage-dark); }

.faq-question .arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform 0.3s;
  color: var(--sage-dark);
}

.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section { background: var(--warm-white); }

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

.contact-info h2 { margin-bottom: 1rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail .detail-icon {
  width: 40px;
  height: 40px;
  background: var(--sage-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail p { font-size: 0.95rem; margin: 0; }

.free-call-box {
  background: linear-gradient(135deg, #EEF5EF, var(--cream));
  border: 1px solid var(--sage-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}

.free-call-box h3 {
  font-size: 1rem;
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.free-call-box p { font-size: 0.9rem; }

/* Contact form */
.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--warm-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 158, 126, 0.15);
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.form-consent label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--sage-dark);
}

.form-success h3 { margin-bottom: 0.5rem; }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: #2D3A2E;
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); }

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--sage-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-bacp-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links.open { display: flex; }
  .site-nav { position: relative; }

  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 5rem 0 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image-wrap { max-width: 360px; margin: 0 auto; }

  .intro-inner,
  .about-intro-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}
