/* ============================================
   Sally Gordon Therapy — Main Stylesheet
   ============================================ */

/* --- Variables --- */
:root {
  --sage: #8B9E7E;
  --sage-light: #A8B89E;
  --sage-pale: #E8EDE4;
  --sage-wash: #F4F7F2;
  --warm: #C4A882;
  --warm-light: #E8D5BE;
  --warm-pale: #FAF5EF;
  --clay: #B8937A;
  --text-dark: #2C3328;
  --text-mid: #4A5347;
  --text-light: #6B756A;
  --cream: #FAFAF7;
  --white: #FFFFFF;
  --border: #DDE3D9;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--sage); }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--sage) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 100px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--text-dark) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 6px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Nav Dropdowns --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
  transition: color 0.2s;
}

.nav-dropdown-toggle:hover { color: var(--sage); }

.nav-dropdown-toggle svg {
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  list-style: none;
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white);
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  transition: all 0.15s;
}

.nav-dropdown-menu li a:hover {
  background: var(--sage-wash);
  color: var(--sage);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(44, 51, 40, 0.15);
}

.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-mid);
  padding: 16px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--sage);
  color: var(--sage);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  max-width: 640px;
  margin-left: auto;
  animation: fadeUp 1s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-pale);
  color: var(--sage);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
  width: fit-content;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeUp 1s ease 0.3s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--sage);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 480px;
  animation: fadeUp 1s ease 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.5s both;
}

.hero-image {
  position: relative;
  background: linear-gradient(160deg, var(--sage-pale) 0%, var(--warm-pale) 60%, var(--sage-wash) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideIn 1s ease 0.3s both;
  overflow: hidden;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B9E7E' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  position: relative;
  z-index: 1;
}

.hero-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--sage);
  font-size: 16px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.placeholder-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(139, 158, 126, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-trust {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: fadeUp 1s ease 0.7s both;
}

.trust-item { display: flex; flex-direction: column; gap: 4px; }

.trust-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--sage);
}

.trust-label {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ============================================
   RECOGNIZED BAR
   ============================================ */
.recognized {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.recognized-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.recognized-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 600;
  white-space: nowrap;
}

.recognized-item {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  opacity: 0.7;
}

.recognized-divider {
  width: 4px;
  height: 4px;
  background: var(--sage-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 600px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 64px;
}

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 120px 32px; max-width: 1200px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: var(--sage-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(139, 158, 126, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sage);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-light);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  transition: gap 0.3s;
}

.service-link:hover { gap: 10px; }

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.about-image {
  background: linear-gradient(135deg, var(--warm-pale) 0%, var(--sage-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 200px 200px 24px 24px;
  max-width: 320px;
  max-height: 400px;
}

.about-portrait {
  width: 320px;
  height: 400px;
  border-radius: 200px 200px 24px 24px;
  background: rgba(139, 158, 126, 0.12);
  border: 2px solid rgba(139, 158, 126, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 500;
}

.about-content {
  padding: 80px 80px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content .section-title { margin-bottom: 24px; }

.about-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.about-highlight {
  background: var(--sage-pale);
  border-left: 3px solid var(--sage);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 32px 0;
}

.about-highlight p {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
}

.credentials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.credential {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--sage-wash);
  padding: 8px 16px;
  border-radius: 100px;
}

.credential svg { color: var(--sage); flex-shrink: 0; }

/* ============================================
   NEUROFEEDBACK
   ============================================ */
.neurofeedback { padding: 120px 32px; max-width: 1200px; margin: 0 auto; }

.nf-header { text-align: center; margin-bottom: 80px; }
.nf-header .section-title { margin: 0 auto 16px; max-width: 700px; }
.nf-header .section-sub { margin: 0 auto; max-width: 600px; }

.nf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.nf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.nf-card:hover {
  border-color: var(--sage-light);
  box-shadow: 0 8px 24px rgba(139, 158, 126, 0.08);
}

.nf-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.nf-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.nf-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}

.nf-badge {
  display: inline-block;
  background: var(--sage-pale);
  color: var(--sage);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 12px;
}

.nf-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
  transition: color 0.2s;
}

.nf-link:hover {
  color: var(--text-dark);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--sage-wash);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 32px;
}

.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 64px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.testimonial-stars {
  color: var(--warm);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-mid);
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--sage);
  flex-shrink: 0;
}

.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.testimonial-role { font-size: 12px; color: var(--text-light); }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sage-pale) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 16px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-method svg {
  flex-shrink: 0;
  color: var(--sage);
  margin-top: 2px;
}

.contact-method-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-method-value {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.5;
}

a.contact-method:hover .contact-method-value {
  color: var(--sage);
}

.contact-details {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.contact-details-divider {
  margin: 0 8px;
  color: var(--border);
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-dark);
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(139, 158, 126, 0.15);
}

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

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B756A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-mid);
  font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 32px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand span { color: var(--sage-light); }

.footer-desc { font-size: 14px; line-height: 1.6; max-width: 300px; }

.footer-heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }

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

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 0 16px;
    min-width: 0;
  }

  .nav-dropdown-menu::before { display: none; }

  .nav-dropdown-menu li a {
    padding: 8px 0;
    font-size: 13px;
  }

  .nav-dropdown-menu li a:hover {
    background: transparent;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .hero-content {
    padding: 120px 24px 60px;
    max-width: none;
  }

  .hero h1 { font-size: 36px; }
  .hero-image { height: 360px; }

  .hero-trust {
    flex-direction: column;
    gap: 16px;
  }

  .services { padding: 80px 24px; }
  .services-grid { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; }
  .about-image { min-height: 280px; padding: 48px; }
  .about-content { padding: 48px 24px; }

  .neurofeedback { padding: 80px 24px; }
  .nf-grid { grid-template-columns: 1fr; }

  .testimonials { padding: 80px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .contact { padding: 80px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-details { font-size: 12px; }
  .contact-details-divider { display: block; height: 0; overflow: hidden; margin: 0; }

  .section-title { font-size: 32px; }

  .recognized-inner { gap: 24px; justify-content: center; }
  .recognized-divider { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
