/* ============================================
   Prof Zelda Knight – Counselling Psychology
   Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #4A6B5D;
  --color-primary-dark: #3D5A4E;
  --color-secondary: #5B9BD5;
  --color-secondary-dark: #4A87C0;
  --color-accent: #D4B896;
  --color-gold: #F7D76B;
  --color-gold-soft: #FADE82;
  --color-blue: #5B9BD5;
  --color-blue-light: #89C4E1;
  --color-blue-pale: #B8D8E8;
  --color-green: #68AD60;
  --color-green-soft: #8EC68C;
  --color-yellow: #F7D76B;
  --color-yellow-soft: #FBE8A6;
  --color-rose: #C9A9A6;
  --color-text: #2D3436;
  --color-text-light: #636E72;
  --color-bg: #FAFAF7;
  --color-bg-warm: #F5F0E8;
  --color-bg-white: #FFFFFF;
  --color-bg-hero: #E4F0F8;
  --color-bg-blue: #EBF3FA;
  --font-heading: 'Crimson Pro', Georgia, serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--color-primary-dark); }

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease, color 0.3s ease;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 107, 93, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}

.btn-banner {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
.btn-banner:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 107, 93, 0.35);
  transform: translateY(-2px);
}

/* --- Section Label --- */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* --- Text Link --- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: 20px;
  transition: color 0.3s ease, gap 0.3s ease;
}
.text-link:hover {
  color: var(--color-primary-dark);
  gap: 10px;
}

/* --- Section Dividers --- */
.section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.section-divider svg {
  width: 100%;
  height: 30px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
  height: 80px;
}

.navbar--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}
.nav-logo-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary);
}
.nav-logo-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 8px 16px;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dropdown-chevron {
  transition: transform 0.3s ease;
}

.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-bg-white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  border-top: 3px solid var(--color-primary);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: 0.88rem;
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-menu li a:hover {
  background-color: #EEF5F0;
  color: var(--color-primary);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 4px;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--color-bg-white);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.1);
  padding: 80px 32px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links > li > a,
.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-nav-links > li > a:hover,
.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: none;
  cursor: pointer;
  text-align: left;
}
.mobile-chevron {
  transition: transform 0.3s ease;
}
.mobile-dropdown-toggle.expanded .mobile-chevron {
  transform: rotate(180deg);
}

.mobile-dropdown-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 16px;
}
.mobile-dropdown-items.expanded {
  max-height: 400px;
}
.mobile-dropdown-items li a {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-light);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
}
.mobile-dropdown-items li a:hover {
  color: var(--color-primary);
}

.mobile-menu-leaf {
  margin-top: auto;
  align-self: center;
  opacity: 0.5;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: url('Zelda Knight Header.jpg') center center / cover no-repeat;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 250, 247, 0.55) 0%,
    rgba(250, 250, 247, 0.35) 40%,
    rgba(250, 250, 247, 0.2) 70%,
    rgba(250, 250, 247, 0.4) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero-leaf-sprig {
  display: block;
  margin: 0 auto 24px;
  opacity: 0.7;
}

.hero-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
  text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.hero-blurb {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.45s;
  opacity: 0;
  text-shadow: 0 1px 3px rgba(255,255,255,0.7);
}

.hero-cta {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 60px 0 80px;
  background: var(--color-bg);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.about-branch-decor {
  position: absolute;
  top: -20px;
  left: -40px;
  width: 160px;
  height: auto;
  pointer-events: none;
  display: none;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-content p:last-of-type {
  margin-bottom: 0;
}

/* Photo */
.about-image {
  display: flex;
  justify-content: center;
}

.photo-frame {
  position: relative;
  display: inline-block;
  max-width: 350px;
}
.photo-frame img {
  border-radius: 16px;
  border: 3px solid var(--color-primary);
  object-fit: cover;
}

.photo-corner {
  position: absolute;
  pointer-events: none;
}
.photo-corner-tl {
  top: -15px;
  left: -15px;
}
.photo-corner-br {
  bottom: -15px;
  right: -15px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 60px 0 80px;
  background: var(--color-bg-warm);
}

.services-header {
  text-align: center;
  margin-bottom: 48px;
}
.services-header h2 {
  margin-bottom: 12px;
}

.heading-ornament {
  display: block;
  margin: 0 auto;
  opacity: 0.6;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-content: center;
}

.service-card {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-top-color: var(--color-primary);
}

.service-icon {
  margin-bottom: 20px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #EEF5F0;
}
.service-icon svg {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon svg {
  transform: scale(1.08);
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--color-text);
}

.service-card p {
  font-size: 0.93rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-primary);
  transition: color 0.3s ease, gap 0.3s ease;
}
.service-link:hover {
  color: var(--color-primary-dark);
  gap: 9px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url('Banner.png') center center / cover no-repeat;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(74, 107, 93, 0.35) 100%
  );
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 24px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 60px 0 80px;
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-form-wrapper h2 {
  margin-bottom: 12px;
}
.contact-intro {
  color: var(--color-text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1.5px solid #C5D8CD;
  border-radius: 8px;
  background: var(--color-bg-white);
  color: var(--color-text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-input::placeholder {
  color: #B0B0B0;
}
.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74, 107, 93, 0.15);
}
.form-input--error {
  border-color: #D35F5F;
  box-shadow: 0 0 0 3px rgba(211, 95, 95, 0.12);
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23636E72' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg {
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.form-success p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2px;
}
.contact-detail-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}
.contact-detail-item a {
  color: var(--color-primary);
}
.contact-detail-item a:hover {
  color: var(--color-primary-dark);
}

/* Map */
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  position: relative;
}

.footer-vine {
  display: block;
  width: 100%;
  height: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 48px 20px 40px;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 12px;
}
.footer-logo-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
}
.footer-logo-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.5px;
}
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

/* Footer Contact Details */
.footer-contact-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.footer-contact-details li svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
}
.footer-contact-details li a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}
.footer-contact-details li a:hover {
  color: #fff;
}

/* Footer Links */
.footer-links-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease;
}
.footer-links-col a:hover {
  color: #fff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
}
.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for service cards */
.service-card.reveal:nth-child(1) { transition-delay: 0s; }
.service-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.service-card.reveal:nth-child(5) { transition-delay: 0.32s; }
.service-card.reveal:nth-child(6) { transition-delay: 0.4s; }
.service-card.reveal:nth-child(7) { transition-delay: 0.48s; }

/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  .container { padding: 0 40px; }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }

  /* Nav */
  .nav-links {
    display: flex;
  }
  .nav-hamburger {
    display: none;
  }

  /* Hero */
  .hero-heading { font-size: 2.8rem; }
  .hero-blurb { font-size: 1.1rem; }

  /* About */
  .about { padding: 80px 0 100px; }
  .about-grid {
    grid-template-columns: 55% 1fr;
    gap: 48px;
  }
  .about-branch-decor {
    display: block;
  }

  /* Services */
  .services { padding: 80px 0 100px; }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA Banner */
  .cta-banner { padding: 64px 0; }
  .cta-banner h2 { font-size: 2.2rem; }

  /* Contact */
  .contact { padding: 80px 0 100px; }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  .map-wrapper iframe { height: 350px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1.2fr;
    gap: 40px;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .container { padding: 0 60px; }

  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.3rem; }

  /* Hero */
  .hero { padding: 100px 0 80px; }
  .hero-heading { font-size: 3.4rem; }
  .hero-blurb { font-size: 1.15rem; }

  /* About */
  .about-grid {
    gap: 64px;
  }
  .photo-frame { max-width: 400px; }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 1.3fr;
    gap: 48px;
  }
}

/* ============================================
   RESPONSIVE — LARGE DESKTOP (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }
  .service-card {
    width: calc(25% - 21px);
    flex-shrink: 0;
  }
}

/* ============================================
   MOBILE SPECIFICS (below 768px)
   ============================================ */
@media (max-width: 767px) {
  .about-image {
    order: -1;
  }
  .photo-frame {
    max-width: 280px;
  }

  .contact-form .btn {
    width: 100%;
  }

  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p { font-size: 0.95rem; }

  .about-page-intro + .about-page-content {
    margin-top: 48px;
  }
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 120px 0 60px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(74, 107, 93, 0.7) 0%,
    rgba(74, 107, 93, 0.55) 50%,
    rgba(74, 107, 93, 0.7) 100%
  );
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.page-hero-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
}
.page-hero-breadcrumb a:hover {
  color: #fff;
}
.page-hero-breadcrumb .breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* Service page hero gradients (placeholder for freepik images) */
.page-hero--depression {
  background: url('depression.jpg') center center / cover no-repeat;
}
.page-hero--anxiety {
  background: url('anxiety.jpg') center center / cover no-repeat;
}
.page-hero--ptsd {
  background: url('ptsd.jpg') center center / cover no-repeat;
}
.page-hero--bereavement {
  background: url('loss.jpg') center center / cover no-repeat;
}
.page-hero--couples {
  background: url('couples.jpg') center center / cover no-repeat;
}
.page-hero--work-stress {
  background: url('work-stress.jpg') center 30% / cover no-repeat;
}
.page-hero--existential {
  background: url('existential.jpg') center 40% / cover no-repeat;
}
.page-hero--about {
  background: url('Zelda Knight Header.jpg') center center / cover no-repeat;
}
.page-hero--contact {
  background: url('contact.jpg') center 60% / cover no-repeat;
}

/* ============================================
   SERVICE PAGE LAYOUT
   ============================================ */
.service-page {
  padding: 60px 0 80px;
  background: var(--color-bg);
}

.service-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.service-content {
  max-width: 100%;
}
.service-content h2 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--color-text);
}
.service-content h2:first-child {
  margin-top: 0;
}
.service-content p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Service CTA */
.service-cta {
  padding: 48px 0;
  text-align: center;
  background: var(--color-bg-warm);
}
.service-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--color-text);
}
.service-cta p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-form-card {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sidebar-form-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--color-text);
}
.sidebar-form-card .sidebar-form-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}
.sidebar-form-card .form-group {
  margin-bottom: 14px;
}
.sidebar-form-card .form-group label {
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.sidebar-form-card .form-input {
  padding: 10px 14px;
  font-size: 0.9rem;
}
.sidebar-form-card textarea.form-input {
  min-height: 80px;
}
.sidebar-form-card .btn {
  width: 100%;
  padding: 12px 24px;
  font-size: 0.9rem;
}

/* Sidebar form success */
.sidebar-form-success {
  text-align: center;
  padding: 24px 16px;
}
.sidebar-form-success svg {
  margin: 0 auto 12px;
}
.sidebar-form-success h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.sidebar-form-success p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Sidebar contact card */
.sidebar-contact-card {
  background: var(--color-primary);
  border-radius: 12px;
  padding: 28px 24px;
  color: rgba(255,255,255,0.9);
}
.sidebar-contact-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.sidebar-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.sidebar-contact-item:last-child {
  margin-bottom: 0;
}
.sidebar-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}
.sidebar-contact-item a {
  color: rgba(255,255,255,0.9);
  transition: color 0.2s ease;
}
.sidebar-contact-item a:hover {
  color: #fff;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
  padding: 60px 0 80px;
  background: var(--color-bg);
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.about-page-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.about-page-photo {
  display: flex;
  justify-content: center;
}

.about-page-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text);
}
.about-page-content h2:first-child {
  margin-top: 0;
}
.about-page-content p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.qualifications-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.qualifications-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}
.qualifications-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 1.5px solid var(--color-primary);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  padding: 60px 0 80px;
  background: var(--color-bg);
}

.contact-page-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 20px;
}
.contact-page-intro .heading-ornament {
  display: block;
  margin: 0 auto 20px;
}
.contact-page-intro p {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.7;
}
.contact-page-intro-lead {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-page-extra {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-page-extra-section {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.contact-page-extra-section h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-text);
}
.contact-page-extra-section p {
  color: var(--color-text);
  line-height: 1.7;
}

/* ============================================
   INNER PAGE RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  .page-hero { min-height: 360px; }
  .page-hero-title { font-size: 2.6rem; }

  .service-page-grid {
    grid-template-columns: 1fr 25%;
    gap: 48px;
  }

  .about-page-intro {
    grid-template-columns: 1fr 300px;
    gap: 48px;
  }

  .contact-page-extra {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   INNER PAGE RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .page-hero { min-height: 400px; padding: 140px 0 80px; }
  .page-hero-title { font-size: 3rem; }

  .service-page-grid {
    grid-template-columns: 1fr 25%;
    gap: 64px;
  }

  .sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
  }

  .about-page-intro {
    grid-template-columns: 1fr 350px;
    gap: 64px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
