/* ============================================================
   YouFirst Psychological Services — Main Stylesheet
   ============================================================ */

:root {
  --lavender: #8B82C4;
  --lavender-light: #b5aee0;
  --lavender-pale: #ede9f8;
  --lavender-mist: #f5f3fc;
  --ink: #2a2535;
  --slate: #5c5470;
  --mist: #f8f7fc;
  --white: #ffffff;
}

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

body {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  /* No margin-top here — handled per-section */
}

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ── SITE HEADER / NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5vw;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139,130,196,0.12);
  transition: box-shadow 0.35s ease, padding 0.35s ease, background 0.35s ease;
  /* Fix: explicit height prevents white strip */
  min-height: 70px;
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(139,130,196,0.13);
  padding: 8px 5vw;
  background: rgba(255,255,255,0.99);
}

/* ── LOGO WRAP ── */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
  /* Prevent text wrapping on small screens */
  min-width: 0;
}
.nav-logo-wrap:hover { text-decoration: none; }

/* Circular logo image */
.nav-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(139,130,196,0.2);
  box-shadow: 0 2px 10px rgba(139,130,196,0.12);
  flex-shrink: 0;
  transition: box-shadow 0.25s, transform 0.25s, width 0.35s, height 0.35s;
  display: block;
}
.nav-logo-wrap:hover .nav-logo-img {
  box-shadow: 0 4px 16px rgba(139,130,196,0.28);
  transform: scale(1.04);
}
.site-header.scrolled .nav-logo-img {
  width: 38px;
  height: 38px;
}

/* Text beside logo */
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
  /* Allow text to shrink but not collapse */
  min-width: 0;
}
.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #8b82c4;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: font-size 0.35s;
}
.nav-logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: #2a2535;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  transition: font-size 0.35s;
}
.site-header.scrolled .nav-logo-name { font-size: 1.3rem; }
.site-header.scrolled .nav-logo-sub  { font-size: 0.58rem; }

/* ── MOBILE: compact logo ── */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 4vw;
    min-height: 64px;
  }
  .site-header.scrolled {
    padding: 8px 4vw;
  }
  .nav-logo-img { width: 40px; height: 40px; }
  .site-header.scrolled .nav-logo-img { width: 34px; height: 34px; }
  .nav-logo-name { font-size: 1.25rem; }
  .nav-logo-sub  { font-size: 0.55rem; letter-spacing: 0.1em; }
  .nav-logo-wrap { gap: 9px; }
}
.nav-logo,
.site-logo a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--lavender);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo span,
.site-logo a span { color: var(--ink); font-weight: 300; }

/* WordPress nav menu */
.main-nav ul,
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
  margin: 0; padding: 0;
}
.main-nav ul a,
.nav-links a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.main-nav ul a:not(.nav-cta)::after,
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--lavender);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.main-nav ul a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.main-nav ul a:hover,
.nav-links a:hover { color: var(--lavender); }

/* Active page link */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--lavender);
}
.main-nav .current-menu-item > a:not(.nav-cta)::after,
.main-nav .current_page_item > a:not(.nav-cta)::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--lavender) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-size: 0.76rem !important;
  letter-spacing: 0.13em !important;
  box-shadow: 0 4px 16px rgba(139,130,196,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: #7d74bd !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(139,130,196,0.45) !important;
}
.nav-cta::after { display: none !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* 70px = header height; extra 60px breathing room */
  padding: 130px 6vw 100px;
  background: var(--mist);
  position: relative;
  overflow: hidden;
}

/* Admin bar adds 32px on desktop, 46px on mobile */
.admin-bar #hero { padding-top: 162px; }
@media screen and (max-width: 782px) {
  .admin-bar #hero { padding-top: 176px; }
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(181,174,224,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(201,193,240,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(237,233,248,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: blobDrift ease-in-out infinite;
}
.blob-1 { width: 560px; height: 560px; background: var(--lavender-light); top: -140px; right: -140px; opacity: 0.28; animation-duration: 12s; }
.blob-2 { width: 380px; height: 380px; background: #c9c1f0; bottom: -60px; left: 15%; opacity: 0.22; animation-duration: 16s; animation-direction: reverse; }
.blob-3 { width: 240px; height: 240px; background: var(--lavender); top: 40%; left: -80px; opacity: 0.1; animation-duration: 10s; }

@keyframes blobDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(12px,-8px) scale(1.03); }
  66% { transform: translate(-8px,12px) scale(0.97); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(139,130,196,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender);
  background: white;
  border: 1px solid rgba(139,130,196,0.25);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 1.8rem;
  box-shadow: 0 2px 12px rgba(139,130,196,0.12);
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lavender);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.2vw, 4.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--lavender); }

.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
  font-weight: 300;
  max-width: 440px;
  margin-bottom: 2.8rem;
}

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

.btn-primary {
  background: var(--lavender);
  color: white;
  padding: 15px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.83rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 24px rgba(139,130,196,0.38);
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.15) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { background: #7d74bd; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(139,130,196,0.48); color: white; text-decoration: none; }

.btn-outline {
  border: 1.5px solid rgba(139,130,196,0.5);
  color: var(--lavender);
  padding: 15px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.83rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--lavender-pale); border-color: var(--lavender); transform: translateY(-2px); text-decoration: none; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(139,130,196,0.15);
}
.hero-trust-item { display: flex; flex-direction: column; gap: 2px; }
.hero-trust-num { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1; }
.hero-trust-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); font-weight: 400; }
.hero-trust-divider { width: 1px; height: 32px; background: rgba(139,130,196,0.2); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(139,130,196,0.18);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ringPulse 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-visual::after {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px dashed rgba(139,130,196,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ringPulse 9s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes ringPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%,-50%) scale(1.05); opacity: 1; }
}

.hero-card {
  background: white;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  box-shadow: 0 2px 4px rgba(139,130,196,0.06), 0 8px 24px rgba(139,130,196,0.12), 0 30px 70px rgba(139,130,196,0.18);
  text-align: center;
  width: 100%;
  max-width: 360px;
  animation: floatCard 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.8);
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--lavender), var(--lavender-light), var(--lavender));
  border-radius: 0 0 4px 4px;
}
.hero-logo-img { width: 165px; height: auto; margin-bottom: 1.6rem; filter: drop-shadow(0 4px 12px rgba(139,130,196,0.2)); }
.hero-card-quote { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic; color: var(--slate); line-height: 1.65; margin-bottom: 1.4rem; }
.hero-card-divider { width: 36px; height: 2px; background: linear-gradient(90deg, var(--lavender), var(--lavender-light)); border-radius: 2px; margin: 0 auto 1.2rem; }

.hero-badge {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(139,130,196,0.2);
  border: 1px solid rgba(139,130,196,0.12);
  z-index: 3;
  white-space: nowrap;
}
.hero-badge-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.hero-badge-text { display: flex; flex-direction: column; }
.hero-badge-label { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.hero-badge-value { font-size: 0.8rem; font-weight: 500; color: var(--ink); }
.badge-rating { top: 12%; right: -8%; animation: badgeFloat 5s ease-in-out infinite; }
.badge-sessions { bottom: 14%; left: -10%; animation: badgeFloat 6s ease-in-out infinite reverse; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── SECTION BASE ── */
section { padding: 110px 6vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* Inner page content area (for About, Services, Contact pages) */
.page-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 6vw 100px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--lavender); flex-shrink: 0; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--lavender); }

.section-body { font-size: 0.97rem; line-height: 1.85; color: var(--slate); font-weight: 300; max-width: 600px; }

/* Page Hero Banner (for inner pages) */
.page-hero-banner {
  background: var(--mist);
  padding: 160px 6vw 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(181,174,224,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-banner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  position: relative;
}
.page-hero-banner h1 em { font-style: italic; color: var(--lavender); }
.page-hero-banner p {
  font-size: 1rem;
  color: var(--slate);
  font-weight: 300;
  max-width: 520px;
  margin: 1.2rem auto 0;
  line-height: 1.8;
  position: relative;
}
/* Breadcrumb */
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.2rem;
  position: relative;
}
.breadcrumb a { color: var(--lavender); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.4; }

/* ── ABOUT ── */
#about { background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.stat-card {
  background: var(--mist);
  border-radius: 18px;
  padding: 1.6rem;
  border: 1px solid rgba(139,130,196,0.1);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--lavender), var(--lavender-light)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(139,130,196,0.14); border-color: var(--lavender-pale); }
.stat-card:hover::after { transform: scaleX(1); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; color: var(--lavender); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.78rem; color: var(--slate); font-weight: 300; line-height: 1.4; }

.about-visual {
  background: linear-gradient(145deg, var(--lavender-pale) 0%, white 60%, var(--mist) 100%);
  border-radius: 28px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139,130,196,0.1);
  box-shadow: 0 20px 60px rgba(139,130,196,0.08);
}
.about-visual::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--lavender-light) 0%, transparent 70%); opacity: 0.25; top: -80px; right: -80px; pointer-events: none; }
.about-visual::after { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--lavender) 0%, transparent 70%); opacity: 0.1; bottom: -40px; left: -40px; pointer-events: none; }

.value-item { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: 2rem; position: relative; z-index: 1; }
.value-item:last-child { margin-bottom: 0; }
.value-icon { width: 42px; height: 42px; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; box-shadow: 0 4px 16px rgba(139,130,196,0.15); border: 1px solid rgba(139,130,196,0.1); }
.value-text h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.value-text p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; font-weight: 300; }

/* ── SERVICES ── */
#services { background: var(--mist); }
.services-header { text-align: center; max-width: 580px; margin: 0 auto 4.5rem; }
.services-header .section-label { justify-content: center; }
.services-header .section-body { margin: 0 auto; text-align: center; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: white;
  border-radius: 22px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(139,130,196,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--lavender), var(--lavender-light)); transform: scaleX(0); transition: transform 0.35s ease; transform-origin: left; }
.service-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(139,130,196,0.06) 0%, transparent 70%); opacity: 0; transition: opacity 0.35s; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 24px 56px rgba(139,130,196,0.2); border-color: rgba(139,130,196,0.2); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-icon { width: 54px; height: 54px; background: var(--lavender-pale); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; transition: transform 0.3s, background 0.3s; }
.service-card:hover .service-icon { transform: scale(1.08); background: var(--lavender-mist); }
.service-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 0.8rem; line-height: 1.2; }
.service-card p { font-size: 0.87rem; color: var(--slate); line-height: 1.75; font-weight: 300; }

/* ── APPROACH ── */
#approach { background: white; }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 1.5rem; padding-bottom: 2.2rem; position: relative; }
.step:last-child { padding-bottom: 0; }
.step-line { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-num { width: 38px; height: 38px; background: var(--lavender); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; flex-shrink: 0; box-shadow: 0 4px 14px rgba(139,130,196,0.4); transition: transform 0.2s, box-shadow 0.2s; }
.step:hover .step-num { transform: scale(1.1); box-shadow: 0 6px 20px rgba(139,130,196,0.5); }
.step-connector { width: 1px; flex: 1; background: linear-gradient(to bottom, var(--lavender-light), var(--lavender-pale)); margin-top: 10px; min-height: 24px; }
.step:last-child .step-connector { display: none; }
.step-content { padding-top: 5px; }
.step-content h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.step-content p { font-size: 0.87rem; color: var(--slate); line-height: 1.72; font-weight: 300; }

.approach-quote { background: linear-gradient(145deg, var(--lavender) 0%, #6b5fbe 100%); border-radius: 28px; padding: 4rem 3.5rem; color: white; position: relative; overflow: hidden; box-shadow: 0 24px 64px rgba(107,95,190,0.35); }
.approach-quote::before { content: '\201C'; position: absolute; font-family: 'Cormorant Garamond', serif; font-size: 14rem; line-height: 1; color: rgba(255,255,255,0.1); top: -30px; left: 20px; pointer-events: none; }
.approach-quote::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.05); bottom: -100px; right: -80px; pointer-events: none; }
.approach-quote blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-style: italic; font-weight: 300; line-height: 1.5; position: relative; z-index: 1; margin-bottom: 2rem; }
.approach-quote cite { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; font-style: normal; position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.approach-quote cite::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.5); }
.approach-quote-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; position: relative; z-index: 1; }
.aq-stat { background: rgba(255,255,255,0.12); border-radius: 14px; padding: 1.2rem; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(4px); }
.aq-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; line-height: 1; margin-bottom: 3px; }
.aq-stat-label { font-size: 0.7rem; letter-spacing: 0.08em; opacity: 0.7; text-transform: uppercase; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--mist); }
.testimonials-header { text-align: center; max-width: 560px; margin: 0 auto 4.5rem; }
.testimonials-header .section-label { justify-content: center; }
.testimonials-header .section-body { text-align: center; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.testimonial-card { background: white; border-radius: 22px; padding: 2.5rem 2rem; border: 1px solid rgba(139,130,196,0.1); position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.testimonial-card::before { content: '\201C'; position: absolute; font-family: 'Cormorant Garamond', serif; font-size: 7rem; line-height: 1; color: var(--lavender-pale); top: -8px; right: 20px; pointer-events: none; transition: color 0.3s; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(139,130,196,0.15); }
.testimonial-card:hover::before { color: rgba(139,130,196,0.15); }
.testimonial-card.featured { background: linear-gradient(145deg, var(--lavender-pale), white); border-color: rgba(139,130,196,0.2); margin-top: -12px; }
.t-stars { color: var(--lavender); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 1.2rem; }
.t-text { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--ink); line-height: 1.7; margin-bottom: 1.8rem; position: relative; z-index: 1; }
.t-author { display: flex; align-items: center; gap: 0.85rem; }
.t-avatar { width: 38px; height: 38px; background: linear-gradient(135deg, var(--lavender), var(--lavender-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; color: white; font-weight: 500; letter-spacing: 0.05em; flex-shrink: 0; }
.t-name { font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 1px; }
.t-role { font-size: 0.75rem; color: var(--slate); font-weight: 300; }

/* ── CONTACT / CTA ── */
#contact,
.contact-section {
  background: linear-gradient(145deg, var(--lavender) 0%, #6458b8 100%);
  color: white;
  padding: 110px 6vw;
  position: relative;
  overflow: hidden;
}
#contact::before, .contact-section::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: rgba(255,255,255,0.04); top: -200px; right: -200px; pointer-events: none; }
#contact::after, .contact-section::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,0.04); bottom: -150px; left: -100px; pointer-events: none; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.contact-text .section-label { color: rgba(255,255,255,0.6); }
.contact-text .section-label::before { background: rgba(255,255,255,0.4); }
.contact-text .section-title { color: white; }
.contact-text .section-title em { color: rgba(255,255,255,0.7); }
.contact-text .section-body { color: rgba(255,255,255,0.72); max-width: 420px; }
.contact-details { margin-top: 2.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.82); }
.contact-item-icon { width: 38px; height: 38px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; transition: background 0.2s; }
.contact-item:hover .contact-item-icon { background: rgba(255,255,255,0.2); }

.contact-form { background: white; border-radius: 28px; padding: 3rem; box-shadow: 0 24px 70px rgba(42,37,53,0.25); }
.contact-form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.contact-form-sub { font-size: 0.82rem; color: var(--slate); font-weight: 300; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea { border: 1.5px solid #e8e4f5; border-radius: 12px; padding: 12px 16px; font-family: 'Jost', sans-serif; font-size: 0.9rem; color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s; background: white; width: 100%; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--lavender); box-shadow: 0 0 0 3px rgba(139,130,196,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; background: var(--lavender); color: white; border: none; border-radius: 50px; padding: 15px; font-family: 'Jost', sans-serif; font-size: 0.83rem; letter-spacing: 0.12em; font-weight: 500; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; box-shadow: 0 6px 20px rgba(139,130,196,0.35); margin-top: 0.5rem; }
.form-submit:hover { background: #7d74bd; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139,130,196,0.45); }

/* WordPress comment form compat */
.wpcf7-submit { width: 100%; background: var(--lavender); color: white; border: none; border-radius: 50px; padding: 15px; font-family: 'Jost', sans-serif; font-size: 0.83rem; letter-spacing: 0.12em; font-weight: 500; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.wpcf7-submit:hover { background: #7d74bd; transform: translateY(-2px); }

/* ── FOOTER ── */
footer,
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 70px 6vw 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand .nav-logo { color: var(--lavender-light); margin-bottom: 1.1rem; display: block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; font-weight: 300; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; cursor: pointer; transition: background 0.2s; text-decoration: none; }
.social-btn:hover { background: rgba(139,130,196,0.2); }
.footer-col h5 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: white; margin-bottom: 1.4rem; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin: 0; padding: 0; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; font-weight: 300; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-col a:hover { color: var(--lavender-light); padding-left: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 0.76rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 0.5rem; }

/* WordPress menu in footer */
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav ul a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; font-weight: 300; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-nav ul a:hover { color: var(--lavender-light); padding-left: 4px; }

/* ── MOBILE NAV ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--ink); display: block; transition: 0.3s; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }

/* ── WordPress Core Overrides ── */
img { max-width: 100%; height: auto; }
a { color: var(--lavender); }
p { margin-bottom: 1rem; }
.wp-block-image { margin: 2rem 0; }
.aligncenter { text-align: center; }

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

@media (max-width: 768px) {
  /* Sections */
  section { padding: 70px 5vw; }

  /* Hero: tighter top pad on mobile since header is 64px */
  #hero { padding-top: 100px; padding-bottom: 70px; min-height: auto; }

  /* Grids → single column */
  .hero-inner,
  .about-grid,
  .approach-grid,
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }

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

  /* Mobile menu dropdown — flush under header, no gap */
  .main-nav ul.mobile-open,
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;          /* fixed so it doesn't push content */
    top: 64px;                /* = header min-height */
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.2rem 5vw 1.5rem;
    gap: 0;
    box-shadow: 0 8px 32px rgba(139,130,196,0.15);
    border-top: 1px solid rgba(139,130,196,0.08);
    z-index: 999;
  }
  .main-nav ul.mobile-open li,
  .nav-links.mobile-open li {
    border-bottom: 1px solid rgba(139,130,196,0.08);
  }
  .main-nav ul.mobile-open li:last-child,
  .nav-links.mobile-open li:last-child { border-bottom: none; }
  .main-nav ul.mobile-open a,
  .nav-links.mobile-open a {
    display: block;
    padding: 14px 0;
    font-size: 0.9rem;
    color: var(--ink);
    letter-spacing: 0.08em;
  }
  .main-nav ul.mobile-open .nav-cta,
  .nav-links.mobile-open .nav-cta {
    margin-top: 12px;
    padding: 13px 0 !important;
    text-align: center;
    border-radius: 50px;
    display: block;
  }

  /* Admin bar on mobile */
  .admin-bar .main-nav ul.mobile-open,
  .admin-bar .nav-links.mobile-open { top: 110px; }

  /* Hide hero card on mobile */
  .hero-visual { display: none; }

  /* Stats */
  .about-stats { grid-template-columns: 1fr 1fr; }

  /* Trust bar */
  .hero-trust { gap: 1rem; flex-wrap: wrap; }
  .hero-trust-num { font-size: 1.4rem; }

  /* Testimonials */
  .testimonial-card.featured { margin-top: 0; }

  /* Page banners */
  .page-hero-banner { padding: 110px 5vw 50px; }
  .page-content-wrap { padding: 40px 5vw 80px; }
}
