/*
Theme Name: Emanuel Counselling and Psychotherapy
Theme URI: https://emanueltherapy.com
Author: Emanuel Counselling and Psychotherapy
Author URI: https://emanueltherapy.com
Description: Custom WordPress theme for Emanuel Counselling and Psychotherapy — men's psychotherapy practice in Ontario, Canada.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: Private
Text Domain: emanuel-therapy
*/

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; color: #1A1A18; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; }
p { line-height: 1.75; }
ul { list-style: none; }

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --ec-green:        #1A7A54;
  --ec-green-dark:   #0D5C40;
  --ec-green-deep:   #083D2A;
  --ec-green-light:  #E8F5EE;
  --ec-green-mid:    #2A9D6F;
  --ec-cream:        #F8F5EE;
  --ec-cream-dark:   #EDE9DF;
  --ec-ink:          #1A1A18;
  --ec-ink-mid:      #3D3D39;
  --ec-ink-light:    #6B6B65;
  --ec-ink-faint:    #9A9A93;
  --ec-white:        #FFFFFF;
  --ec-border:       rgba(26,26,24,0.10);
  --ec-border-mid:   rgba(26,26,24,0.18);
  --ec-serif:        'Playfair Display', Georgia, serif;
  --ec-sans:         'DM Sans', system-ui, sans-serif;
  --ec-radius-sm:    6px;
  --ec-radius-md:    10px;
  --ec-radius-lg:    16px;
}

/* =====================================================
   WORDPRESS CORE OVERRIDES
   ===================================================== */
.wp-block-image img { border-radius: var(--ec-radius-md); }
.wp-site-blocks { padding: 0 !important; }
.entry-content, .page-content { max-width: 100% !important; padding: 0 !important; }
#page, #content, .site-content, .site { background: transparent; }

/* =====================================================
   LOCATION STRIP
   ===================================================== */
.ec-location-strip {
  background: var(--ec-green-deep);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 9px 2rem;
  font-size: 13px;
  letter-spacing: 0.01em;
  font-family: var(--ec-sans);
}
.ec-location-strip span { color: #7ECFAB; font-weight: 500; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.ec-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  height: 68px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ec-border);
}
.ec-nav-logo { display: flex; align-items: center; gap: 10px; }
.ec-nav-logo-text { font-family: var(--ec-serif); font-size: 15px; font-weight: 500; color: var(--ec-ink); line-height: 1.2; letter-spacing: -0.01em; }
.ec-nav-logo-text small { display: block; font-family: var(--ec-sans); font-size: 10px; font-weight: 400; color: var(--ec-ink-light); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1px; }
.ec-nav-links { display: flex; gap: 2rem; align-items: center; }
.ec-nav-links a { font-size: 13.5px; color: var(--ec-ink-light); font-weight: 400; transition: color 0.2s; }
.ec-nav-links a:hover, .ec-nav-links a.active { color: var(--ec-ink); }
.ec-nav-links a.active { font-weight: 500; }
.ec-nav-actions { display: flex; align-items: center; gap: 12px; }
.ec-nav-phone { font-size: 13px; color: var(--ec-ink-light); white-space: nowrap; }
.ec-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.ec-hamburger span { width: 22px; height: 1.5px; background: var(--ec-ink); display: block; transition: all 0.3s; border-radius: 2px; }

/* =====================================================
   BUTTONS
   ===================================================== */
.ec-btn-primary {
  background: var(--ec-green);
  color: #fff !important;
  border: none;
  border-radius: var(--ec-radius-sm);
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  display: inline-block;
  font-family: var(--ec-sans);
  cursor: pointer;
}
.ec-btn-primary:hover { background: var(--ec-green-dark); color: #fff !important; }

.ec-btn-secondary {
  background: transparent;
  color: var(--ec-ink) !important;
  border: 1.5px solid var(--ec-border-mid);
  border-radius: var(--ec-radius-sm);
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 0.2s;
  display: inline-block;
  font-family: var(--ec-sans);
}
.ec-btn-secondary:hover { border-color: var(--ec-ink-light); color: var(--ec-ink) !important; }

.ec-btn-book {
  background: var(--ec-green);
  color: #fff !important;
  border: none;
  border-radius: var(--ec-radius-sm);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-block;
}
.ec-btn-book:hover { background: var(--ec-green-dark); color: #fff !important; }

/* =====================================================
   SECTION HELPERS
   ===================================================== */
.ec-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ec-green);
  font-weight: 500;
  font-family: var(--ec-sans);
  margin-bottom: 0.85rem;
  display: block;
}
.ec-section-title { font-size: clamp(26px, 4vw, 40px); color: var(--ec-ink); margin-bottom: 1rem; }
.ec-section-sub { font-size: 15.5px; color: var(--ec-ink-light); line-height: 1.8; font-weight: 300; }
.ec-center { text-align: center; }
.ec-max { max-width: 1100px; margin-left: auto; margin-right: auto; }
.ec-pad { padding: 5rem 2.5rem; }
.ec-pad-sm { padding: 3.5rem 2.5rem; }

/* =====================================================
   HERO
   ===================================================== */
.ec-hero {
  padding: 6rem 2.5rem 5rem;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ec-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ec-green-mid);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: var(--ec-sans);
}
.ec-hero-tag::before { content: ''; width: 22px; height: 1.5px; background: var(--ec-green-mid); display: block; }
.ec-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1.12; letter-spacing: -0.03em; color: var(--ec-ink); margin-bottom: 1.5rem; }
.ec-hero h1 em { font-style: italic; color: var(--ec-green-mid); }
.ec-hero-sub { font-size: 16.5px; color: var(--ec-ink-mid); line-height: 1.8; margin-bottom: 0.75rem; font-weight: 300; }
.ec-hero-meta { font-size: 13px; color: var(--ec-ink-light); margin-bottom: 2.25rem; display: flex; align-items: center; gap: 6px; }
.ec-hero-meta svg { color: var(--ec-green); flex-shrink: 0; }
.ec-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 2rem; }
.ec-hero-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.ec-trust-chip { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ec-ink-light); }
.ec-trust-chip svg { color: var(--ec-green); }
.ec-hero-img-wrap { position: relative; border-radius: var(--ec-radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--ec-cream); }
.ec-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ec-cred-bar { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.96); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--ec-border); }
.ec-cred-badge { background: var(--ec-green-light); color: var(--ec-green-dark); font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 20px; font-family: var(--ec-sans); }
.ec-cred-text { font-size: 12px; color: var(--ec-ink-light); }

/* =====================================================
   TRUST BAR
   ===================================================== */
.ec-trust-bar {
  background: var(--ec-cream);
  border-top: 1px solid var(--ec-border);
  border-bottom: 1px solid var(--ec-border);
  padding: 1.25rem 2.5rem;
}
.ec-trust-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.ec-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ec-ink-light); }
.ec-trust-item svg { color: var(--ec-green); flex-shrink: 0; }
.ec-trust-item strong { font-weight: 500; color: var(--ec-ink); }
.ec-trust-div { width: 1px; height: 28px; background: var(--ec-border-mid); }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.ec-how { padding: 5.5rem 2.5rem; max-width: 960px; margin: 0 auto; text-align: center; }
.ec-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; text-align: left; }
.ec-step { padding: 1.75rem; border: 1px solid var(--ec-border); border-radius: var(--ec-radius-md); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.ec-step:hover { border-color: rgba(26,122,84,0.25); box-shadow: 0 4px 20px rgba(26,122,84,0.06); }
.ec-step-num { font-family: var(--ec-serif); font-size: 40px; color: var(--ec-green-light); line-height: 1; margin-bottom: 1rem; }
.ec-step h3 { font-family: var(--ec-serif); font-size: 18px; font-weight: 400; margin-bottom: 0.6rem; }
.ec-step p { font-size: 13.5px; color: var(--ec-ink-light); line-height: 1.7; }

/* =====================================================
   ISSUES
   ===================================================== */
.ec-issues { background: var(--ec-cream); padding: 5.5rem 2.5rem; border-top: 1px solid var(--ec-border); border-bottom: 1px solid var(--ec-border); }
.ec-issues-inner { max-width: 1100px; margin: 0 auto; }
.ec-issues-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.ec-issues-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.ec-issue-card { background: #fff; border-radius: var(--ec-radius-md); padding: 1.5rem; border: 1px solid var(--ec-border); transition: border-color 0.2s, box-shadow 0.2s; }
.ec-issue-card:hover { border-color: rgba(26,122,84,0.2); box-shadow: 0 4px 16px rgba(26,122,84,0.05); }
.ec-issue-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--ec-green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.ec-issue-card h3 { font-family: var(--ec-serif); font-size: 17px; font-weight: 400; margin-bottom: 0.5rem; }
.ec-issue-card p { font-size: 13px; color: var(--ec-ink-light); line-height: 1.7; }

/* =====================================================
   ABOUT
   ===================================================== */
.ec-about { padding: 5.5rem 2.5rem; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.ec-about-img { border-radius: var(--ec-radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.ec-about-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ec-about-content .ec-section-title { font-size: clamp(26px,3.5vw,38px); margin-bottom: 1.5rem; }
.ec-about-content p { font-size: 15px; color: var(--ec-ink-mid); line-height: 1.85; margin-bottom: 1.1rem; font-weight: 300; }
.ec-about-content p strong { font-weight: 500; color: var(--ec-ink); }
.ec-creds { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 8px; }
.ec-cred-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ec-ink-light); }
.ec-cred-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ec-green); flex-shrink: 0; margin-top: 7px; }
.ec-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.75rem; }
.ec-badge { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ec-border); border-radius: var(--ec-radius-sm); padding: 9px 15px; font-size: 12.5px; color: var(--ec-ink-light); transition: border-color 0.2s; }
.ec-badge:hover { border-color: var(--ec-green); }
.ec-badge svg { color: var(--ec-green); }

/* =====================================================
   VIDEO
   ===================================================== */
.ec-video-section { background: #083D2A; padding: 5.5rem 2.5rem; text-align: center; }
.ec-video-section .ec-eyebrow { color: #7ECFAB; }
.ec-video-section .ec-section-title { color: #fff; max-width: 600px; margin: 0 auto 1rem; }
.ec-video-section .ec-section-sub { color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 2.5rem; }
.ec-video-outer { max-width: 700px; margin: 0 auto; }
.ec-video-thumb { position: relative; border-radius: var(--ec-radius-lg); overflow: hidden; aspect-ratio: 16/9; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); }
.ec-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ec-video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: background 0.2s; }
.ec-video-thumb:hover .ec-video-overlay { background: rgba(0,0,0,0.22); }
.ec-play-btn { width: 68px; height: 68px; border-radius: 50%; background: var(--ec-green); display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.ec-video-thumb:hover .ec-play-btn { transform: scale(1.08); }
.ec-play-label { color: rgba(255,255,255,0.85); font-size: 14px; margin-top: 14px; }
#ec-video-embed { display: none; width: 100%; aspect-ratio: 16/9; border-radius: var(--ec-radius-lg); overflow: hidden; }
.ec-video-note { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 1rem; }
.ec-video-note code { background: rgba(255,255,255,0.08); padding: 2px 7px; border-radius: 4px; }

/* =====================================================
   FAQ
   ===================================================== */
.ec-faq { padding: 5.5rem 2.5rem; max-width: 760px; margin: 0 auto; }
.ec-faq-item { border-top: 1px solid var(--ec-border); }
.ec-faq-item:last-of-type { border-bottom: 1px solid var(--ec-border); }
.ec-faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.35rem 0; cursor: pointer; gap: 1rem; font-size: 15.5px; font-weight: 500; color: var(--ec-ink); transition: color 0.2s; background: none; border: none; width: 100%; text-align: left; font-family: var(--ec-sans); }
.ec-faq-q:hover { color: var(--ec-green); }
.ec-faq-icon { flex-shrink: 0; transition: transform 0.25s; color: var(--ec-green); }
.ec-faq-q.open .ec-faq-icon { transform: rotate(45deg); }
.ec-faq-a { font-size: 14.5px; color: var(--ec-ink-light); line-height: 1.8; padding-bottom: 1.35rem; display: none; }
.ec-faq-a.open { display: block; }

/* =====================================================
   CTA BAND
   ===================================================== */
.ec-cta { background: var(--ec-cream); padding: 5.5rem 2.5rem; text-align: center; border-top: 1px solid var(--ec-border); }
.ec-cta .ec-section-title { margin-bottom: 0.85rem; }
.ec-cta .ec-section-sub { max-width: 480px; margin: 0 auto 2.25rem; }
.ec-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.ec-phone-link { font-size: 14px; color: var(--ec-ink-light); display: flex; align-items: center; gap: 7px; padding: 13px 0; }
.ec-phone-link svg { color: var(--ec-green); }
.ec-jane-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--ec-border-mid); border-radius: var(--ec-radius-sm); padding: 12px 22px; font-size: 13.5px; color: var(--ec-ink) !important; font-weight: 500; transition: border-color 0.2s, box-shadow 0.2s; font-family: var(--ec-sans); }
.ec-jane-btn:hover { border-color: var(--ec-green); box-shadow: 0 0 0 3px rgba(26,122,84,0.08); }
.ec-jane-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; color: #1a5276; font-style: italic; font-weight: 600; }

/* =====================================================
   FOOTER
   ===================================================== */
.ec-footer { background: #1A1A18; color: rgba(255,255,255,0.75); padding: 4rem 2.5rem 2rem; }
.ec-footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ec-footer-brand .ec-footer-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; color: #fff; margin-bottom: 0.75rem; display: block; }
.ec-footer-brand p { font-size: 13px; line-height: 1.7; max-width: 220px; color: rgba(255,255,255,0.6); }
.ec-footer-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 5px; }
.ec-footer-contact a, .ec-footer-contact span { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; display: block; }
.ec-footer-contact a:hover { color: #7ECFAB; }
.ec-footer-col h4 { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 1.1rem; font-family: 'DM Sans', sans-serif; }
.ec-footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.ec-footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.ec-footer-col ul a:hover { color: #7ECFAB; }
.ec-footer-col ul span { font-size: 13px; color: rgba(255,255,255,0.55); }
.ec-footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.ec-footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.ec-crpo { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.4); }
.ec-crpo-dot { width: 7px; height: 7px; border-radius: 50%; background: #7ECFAB; flex-shrink: 0; }
.ec-backlinks { max-width: 1100px; margin: 1.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); }
.ec-backlinks p { font-size: 11px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.ec-backlinks-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ec-backlinks-list a { font-size: 12px; color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 4px 10px; transition: all 0.2s; }
.ec-backlinks-list a:hover { color: #7ECFAB; border-color: rgba(126,207,171,0.3); }

/* =====================================================
   MOBILE STICKY CTA
   ===================================================== */
.ec-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-top: 1px solid rgba(26,26,24,0.1); padding: 12px 1.5rem; padding-bottom: max(16px, env(safe-area-inset-bottom)); align-items: center; gap: 10px; }
.ec-mobile-call { padding: 12px 14px; border: 1.5px solid rgba(26,26,24,0.18); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #1A1A18; background: transparent; }

/* =====================================================
   AI CHATBOT
   ===================================================== */
.ec-chat-bubble { position: fixed; bottom: 90px; right: 24px; z-index: 400; }
@media (min-width: 769px) { .ec-chat-bubble { bottom: 28px; } }
.ec-chat-toggle { width: 56px; height: 56px; border-radius: 50%; background: #1A7A54; border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(26,122,84,0.35); transition: transform 0.2s, background 0.2s; position: relative; }
.ec-chat-toggle:hover { transform: scale(1.06); background: #0D5C40; }
.ec-chat-notif { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; background: #E24B4A; border-radius: 50%; border: 2px solid #fff; }
.ec-chat-win { position: absolute; bottom: 70px; right: 0; width: 340px; background: #fff; border-radius: 16px; border: 1px solid rgba(26,26,24,0.1); box-shadow: 0 8px 40px rgba(0,0,0,0.14); display: none; flex-direction: column; overflow: hidden; max-height: 520px; }
.ec-chat-win.open { display: flex; }
.ec-chat-head { background: #0D5C40; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 10px; }
.ec-chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: #7ECFAB; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 14px; color: #083D2A; font-weight: 500; flex-shrink: 0; }
.ec-chat-head-text { flex: 1; }
.ec-chat-head-text strong { font-size: 14px; color: #fff; display: block; font-weight: 500; }
.ec-chat-head-text span { font-size: 11px; color: rgba(255,255,255,0.65); }
.ec-chat-close { background: none; border: none; color: rgba(255,255,255,0.6); padding: 4px; border-radius: 4px; display: flex; cursor: pointer; }
.ec-chat-close:hover { color: #fff; }
.ec-chat-msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 10px; }
.ec-msg { max-width: 85%; font-size: 13.5px; line-height: 1.55; padding: 10px 13px; border-radius: 12px; font-family: 'DM Sans', sans-serif; }
.ec-msg.bot { background: #F8F5EE; color: #1A1A18; border-bottom-left-radius: 4px; align-self: flex-start; }
.ec-msg.user { background: #1A7A54; color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ec-msg.typing { background: #F8F5EE; align-self: flex-start; padding: 12px 16px; }
.ec-dots { display: flex; gap: 4px; align-items: center; }
.ec-dots span { width: 7px; height: 7px; border-radius: 50%; background: #9A9A93; animation: ec-bounce 1.2s infinite; }
.ec-dots span:nth-child(2) { animation-delay: 0.2s; }
.ec-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ec-bounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
.ec-chat-quick { padding: 0.5rem 1rem; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid rgba(26,26,24,0.1); }
.ec-quick-btn { font-size: 11.5px; background: #E8F5EE; color: #0D5C40; border: none; border-radius: 20px; padding: 5px 11px; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: background 0.2s; }
.ec-quick-btn:hover { background: #d0edde; }
.ec-chat-input { padding: 0.75rem 1rem; border-top: 1px solid rgba(26,26,24,0.1); display: flex; gap: 8px; }
.ec-chat-input input { flex: 1; border: 1px solid rgba(26,26,24,0.18); border-radius: 20px; padding: 8px 14px; font-size: 13px; font-family: 'DM Sans', sans-serif; outline: none; transition: border-color 0.2s; }
.ec-chat-input input:focus { border-color: #1A7A54; }
.ec-chat-send { width: 34px; height: 34px; border-radius: 50%; background: #1A7A54; border: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; transition: background 0.2s; }
.ec-chat-send:hover { background: #0D5C40; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.ec-page-hero { background: #083D2A; padding: 5rem 2.5rem 4.5rem; text-align: center; }
.ec-page-hero .ec-eyebrow { color: #7ECFAB; }
.ec-page-hero h1 { font-size: clamp(34px,5vw,52px); color: #fff; margin-bottom: 1rem; }
.ec-page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto; font-weight: 300; line-height: 1.8; }
.ec-contact-grid { max-width: 1060px; margin: 0 auto; padding: 4rem 2.5rem 5rem; display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.5rem; align-items: start; }
.ec-info-block { margin-bottom: 2rem; }
.ec-info-block h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 400; margin-bottom: 1rem; }
.ec-info-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ec-info-icon { width: 36px; height: 36px; border-radius: 8px; background: #E8F5EE; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ec-info-icon svg { color: #1A7A54; }
.ec-info-text strong { font-size: 14px; font-weight: 500; display: block; color: #1A1A18; margin-bottom: 2px; }
.ec-info-text span, .ec-info-text a { font-size: 13.5px; color: #6B6B65; display: block; line-height: 1.6; }
.ec-info-text a:hover { color: #1A7A54; }
.ec-hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.ec-hours-table tr { border-bottom: 1px solid rgba(26,26,24,0.1); }
.ec-hours-table tr:last-child { border-bottom: none; }
.ec-hours-table td { padding: 10px 0; font-size: 13.5px; }
.ec-hours-table td:first-child { color: #1A1A18; font-weight: 500; }
.ec-hours-table td:last-child { color: #6B6B65; text-align: right; }
.ec-hours-table .closed { color: #9A9A93; }
.ec-hours-note { font-size: 12.5px; color: #9A9A93; margin-top: 10px; line-height: 1.6; display: flex; align-items: flex-start; gap: 6px; }
.ec-hours-note svg { color: #1A7A54; flex-shrink: 0; margin-top: 2px; }
.ec-jane-card { background: #F8F5EE; border: 1px solid rgba(26,26,24,0.1); border-radius: 10px; padding: 1.5rem; margin-bottom: 2rem; }
.ec-jane-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.ec-jane-logo-lg { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: #1a5276; font-style: italic; font-weight: 600; }
.ec-jane-card p { font-size: 13.5px; color: #6B6B65; margin-bottom: 1.25rem; line-height: 1.7; }
.ec-jane-full { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1.5px solid rgba(26,26,24,0.18); border-radius: 6px; padding: 12px 20px; font-size: 14px; color: #1A1A18 !important; font-weight: 500; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; font-family: 'DM Sans', sans-serif; }
.ec-jane-full:hover { border-color: #1A7A54; box-shadow: 0 0 0 3px rgba(26,122,84,0.08); }
.ec-crisis-box { background: #FFF5F5; border: 1px solid #FFCDD2; border-radius: 10px; padding: 1rem 1.25rem; font-size: 13px; color: #3D3D39; line-height: 1.65; }
.ec-crisis-box strong { display: block; margin-bottom: 4px; color: #C62828; }
.ec-crisis-box a { color: #C62828; font-weight: 500; }
.ec-form-panel { background: #fff; border: 1px solid rgba(26,26,24,0.1); border-radius: 16px; padding: 2.25rem; }
.ec-form-panel h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 400; margin-bottom: 0.5rem; }
.ec-form-sub { font-size: 13.5px; color: #6B6B65; margin-bottom: 1.75rem; line-height: 1.65; }
.ec-form-group { margin-bottom: 1.25rem; }
.ec-form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: #1A1A18; }
.ec-form-group label .req { color: #1A7A54; }
.ec-form-group input, .ec-form-group select, .ec-form-group textarea { width: 100%; border: 1px solid rgba(26,26,24,0.18); border-radius: 6px; padding: 11px 14px; font-size: 14px; font-family: 'DM Sans', sans-serif; color: #1A1A18; outline: none; transition: border-color 0.2s, box-shadow 0.2s; background: #fff; }
.ec-form-group input:focus, .ec-form-group select:focus, .ec-form-group textarea:focus { border-color: #1A7A54; box-shadow: 0 0 0 3px rgba(26,122,84,0.08); }
.ec-form-group textarea { resize: vertical; min-height: 120px; line-height: 1.65; }
.ec-form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B65' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.ec-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ec-form-privacy { font-size: 12px; color: #9A9A93; margin-top: 0.75rem; line-height: 1.6; display: flex; align-items: flex-start; gap: 6px; }
.ec-form-privacy svg { flex-shrink: 0; color: #1A7A54; margin-top: 2px; }
.ec-btn-submit { width: 100%; background: #1A7A54; color: #fff; border: none; border-radius: 6px; padding: 14px; font-size: 14px; font-weight: 500; transition: background 0.2s; margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'DM Sans', sans-serif; cursor: pointer; }
.ec-btn-submit:hover { background: #0D5C40; }
.ec-form-success { display: none; text-align: center; padding: 2rem 1rem; }
.ec-form-success .ec-check { width: 56px; height: 56px; border-radius: 50%; background: #E8F5EE; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.ec-form-success h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; margin-bottom: 0.5rem; }
.ec-form-success p { font-size: 14px; color: #6B6B65; }

/* =====================================================
   MENS THERAPY PAGE
   ===================================================== */
.ec-dark-hero { background: #083D2A; padding: 5rem 2.5rem 4.5rem; text-align: center; }
.ec-dark-hero .ec-eyebrow { color: #7ECFAB; }
.ec-dark-hero h1 { font-size: clamp(34px,5vw,54px); color: #fff; max-width: 700px; margin: 0 auto 1.25rem; }
.ec-dark-hero h1 em { font-style: italic; color: #7ECFAB; }
.ec-dark-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 2.5rem; font-weight: 300; line-height: 1.8; }
.ec-why-section { padding: 5rem 2.5rem; max-width: 900px; margin: 0 auto; }
.ec-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3rem; }
.ec-why-block { border-left: 2px solid #E8F5EE; padding-left: 1.25rem; }
.ec-why-block h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 400; margin-bottom: 0.6rem; }
.ec-why-block p { font-size: 14px; color: #6B6B65; line-height: 1.75; }
.ec-areas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.ec-area-card { background: #fff; border-radius: 10px; padding: 1.75rem; border: 1px solid rgba(26,26,24,0.1); transition: border-color 0.2s, box-shadow 0.2s; }
.ec-area-card:hover { border-color: rgba(26,122,84,0.2); box-shadow: 0 4px 16px rgba(26,122,84,0.06); }
.ec-area-icon { width: 40px; height: 40px; border-radius: 8px; background: #E8F5EE; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.ec-area-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; font-weight: 400; margin-bottom: 0.6rem; }
.ec-area-card p { font-size: 13px; color: #6B6B65; line-height: 1.7; }
.ec-who-section { background: #083D2A; padding: 5rem 2.5rem; text-align: center; }
.ec-who-section .ec-eyebrow { color: #7ECFAB; }
.ec-who-section h2 { color: #fff; font-size: clamp(26px,4vw,38px); margin-bottom: 1rem; }
.ec-who-section p.sub { font-size: 15px; color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 3rem; line-height: 1.8; }
.ec-who-grid { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.ec-who-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 1.5rem; text-align: left; }
.ec-who-card .num { font-family: 'Playfair Display', Georgia, serif; font-size: 32px; color: rgba(255,255,255,0.15); line-height: 1; margin-bottom: 0.75rem; }
.ec-who-card p { font-size: 13.5px; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* =====================================================
   APPROACH PAGE
   ===================================================== */
.ec-approach-grid { max-width: 1060px; margin: 0 auto; padding: 5rem 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.ec-approach-grid h2 { font-size: clamp(26px,4vw,36px); margin-bottom: 1.25rem; }
.ec-approach-grid p { font-size: 15px; color: #3D3D39; line-height: 1.85; font-weight: 300; margin-bottom: 1rem; }
.ec-methods { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 10px; }
.ec-method { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #6B6B65; }
.ec-method-dot { width: 8px; height: 8px; border-radius: 50%; background: #1A7A54; flex-shrink: 0; }
.ec-approach-img { border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.ec-approach-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* =====================================================
   BLOG PAGE
   ===================================================== */
.ec-blog-grid { max-width: 1060px; margin: 0 auto; padding: 4rem 2.5rem 5rem; display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; }
.ec-post-list { display: flex; flex-direction: column; gap: 2rem; }
.ec-post-card { border: 1px solid rgba(26,26,24,0.1); border-radius: 12px; padding: 1.75rem; transition: border-color 0.2s, box-shadow 0.2s; background: #fff; }
.ec-post-card:hover { border-color: rgba(26,122,84,0.2); box-shadow: 0 4px 16px rgba(26,122,84,0.05); }
.ec-post-meta { font-size: 12px; color: #9A9A93; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; }
.ec-post-tag { background: #E8F5EE; color: #0D5C40; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.ec-post-card h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 400; margin-bottom: 0.75rem; line-height: 1.3; }
.ec-post-card h2 a:hover { color: #1A7A54; }
.ec-post-card p { font-size: 14px; color: #6B6B65; line-height: 1.75; margin-bottom: 1.25rem; }
.ec-post-read { font-size: 13px; color: #1A7A54; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.ec-sidebar { position: sticky; top: 88px; }
.ec-sidebar-card { border: 1px solid rgba(26,26,24,0.1); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; background: #F8F5EE; }
.ec-sidebar-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 400; margin-bottom: 1rem; }
.ec-sidebar-card p { font-size: 13.5px; color: #6B6B65; line-height: 1.7; margin-bottom: 1.25rem; }
.ec-topic-list { display: flex; flex-direction: column; gap: 8px; }
.ec-topic { font-size: 13.5px; color: #3D3D39; display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(26,26,24,0.08); }
.ec-topic:last-child { border-bottom: none; }
.ec-topic::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1A7A54; flex-shrink: 0; }

/* =====================================================
   FULL FAQ PAGE
   ===================================================== */
.ec-faq-page { max-width: 760px; margin: 0 auto; padding: 4rem 2.5rem 5rem; }
.ec-faq-group { margin-bottom: 3rem; }
.ec-faq-group-title { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 400; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid #E8F5EE; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .ec-hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 1.5rem; }
  .ec-hero-img-wrap { aspect-ratio: 4/3; order: -1; }
  .ec-hero h1 { font-size: clamp(32px,8vw,44px); }
  .ec-steps { grid-template-columns: 1fr; }
  .ec-issues-header { grid-template-columns: 1fr; }
  .ec-issues-grid { grid-template-columns: 1fr 1fr; }
  .ec-about { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 1.5rem; }
  .ec-about-img { aspect-ratio: 4/3; }
  .ec-trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ec-trust-div { display: none; }
  .ec-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ec-mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .ec-chat-win { width: 300px; }
  .ec-contact-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem 4rem; }
  .ec-approach-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 1.5rem; }
  .ec-blog-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem 4rem; }
  .ec-why-grid { grid-template-columns: 1fr; }
  .ec-areas-grid { grid-template-columns: 1fr 1fr; }
  .ec-who-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ec-nav { padding: 0 1.25rem; }
  .ec-nav-links, .ec-nav-phone { display: none; }
  .ec-hamburger { display: flex; }
}
@media (max-width: 540px) {
  .ec-issues-grid { grid-template-columns: 1fr; }
  .ec-footer-grid { grid-template-columns: 1fr; }
  .ec-cta-btns { flex-direction: column; align-items: center; }
  .ec-form-row { grid-template-columns: 1fr; }
  .ec-areas-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   MOBILE OPTIMIZATIONS — COMPREHENSIVE
   ===================================================== */

/* Touch targets — minimum 44px for all interactive elements */
@media (max-width: 900px) {
  .ec-btn-primary, .ec-btn-secondary, .ec-btn-book,
  .ec-jane-btn, .ec-jane-full, .ec-mobile-call {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ec-faq-q { min-height: 52px; padding: 1rem 0; }
  .ec-nav { height: 60px; }
  .ec-chat-toggle { width: 52px; height: 52px; }
  .ec-chat-bubble { bottom: 84px; right: 16px; }
  .ec-chat-win { width: calc(100vw - 32px); right: 0; max-height: 440px; }
  .ec-location-strip { font-size: 12px; padding: 8px 1rem; }
  .ec-hero-tag { font-size: 11px; }
  .ec-hero h1 { font-size: clamp(28px, 7vw, 40px); letter-spacing: -0.025em; }
  .ec-hero-sub { font-size: 15px; }
  .ec-hero-btns { gap: 10px; }
  .ec-hero-btns .ec-btn-primary,
  .ec-hero-btns .ec-btn-secondary { width: 100%; }
  .ec-hero-trust { gap: 12px; }
  .ec-trust-chip { font-size: 11.5px; }
  .ec-how { padding: 3.5rem 1.5rem; }
  .ec-step { padding: 1.25rem; }
  .ec-issues { padding: 3.5rem 1.5rem; }
  .ec-issue-card { padding: 1.25rem; }
  .ec-video-section { padding: 3.5rem 1.5rem; }
  .ec-faq { padding: 3rem 1.5rem 4rem; }
  .ec-cta { padding: 3.5rem 1.5rem; }
  .ec-cta-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .ec-cta-btns .ec-btn-primary,
  .ec-cta-btns .ec-jane-btn { width: 100%; }
  .ec-phone-link { justify-content: center; }
  .ec-footer { padding: 3rem 1.5rem 1.5rem; }
  .ec-footer-bottom { flex-direction: column; gap: 0.75rem; }
  .ec-backlinks-list { gap: 8px; }
  .ec-page-hero { padding: 3rem 1.5rem; }
  .ec-page-hero h1 { font-size: clamp(28px, 7vw, 40px); }
  .ec-dark-hero { padding: 3rem 1.5rem; }
  .ec-dark-hero h1 { font-size: clamp(28px, 7vw, 42px); }
  .ec-section-title { font-size: clamp(24px, 5vw, 36px); }
  .ec-form-panel { padding: 1.5rem; }
  .ec-hours-table td { font-size: 13px; padding: 9px 0; }
  .ec-info-row { gap: 10px; }
  .ec-jane-card { padding: 1.25rem; }
  .ec-crisis-box { font-size: 13px; }
  .ec-faq-page { padding: 3rem 1.5rem 4rem; }
  .ec-trust-bar { padding: 1rem 1.5rem; }
  .ec-who-section { padding: 3.5rem 1.5rem; }
  .ec-sidebar { position: static; }
}

@media (max-width: 540px) {
  .ec-hero { padding: 2.5rem 1.25rem 3rem; }
  .ec-hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .ec-hero-trust { flex-direction: column; gap: 8px; }
  .ec-steps { gap: 12px; }
  .ec-step-num { font-size: 32px; }
  .ec-video-section .ec-section-sub { font-size: 14px; }
  .ec-nav-logo-text { font-size: 13px; }
  .ec-nav-logo-text small { font-size: 9px; }
  .ec-cta-btns { gap: 8px; }
  .ec-footer-grid { gap: 1.75rem; }
  .ec-backlinks-list a { font-size: 11px; padding: 3px 8px; }
  .ec-post-card { padding: 1.25rem; }
  .ec-post-card h2 { font-size: 19px; }
  .ec-faq-q { font-size: 14.5px; }
  .ec-faq-a { font-size: 14px; }
  .ec-mobile-cta { padding: 10px 1.25rem max(14px, env(safe-area-inset-bottom)); }
  .ec-chat-win { width: calc(100vw - 24px); }
  .ec-section-title { font-size: clamp(22px, 6vw, 32px); }
  .ec-page-hero h1 { font-size: clamp(26px, 8vw, 36px); }
}

/* Prevent horizontal scroll */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Improve tap highlight */
a, button { -webkit-tap-highlight-color: rgba(26,122,84,0.1); }

/* Better text rendering on mobile */
@media (max-width: 900px) {
  body { text-rendering: optimizeSpeed; }
  p { line-height: 1.7; }
}

/* Safe area insets for notched phones */
@supports (padding: max(0px)) {
  .ec-mobile-cta {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  .ec-nav {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
}

/* Image optimization on mobile */
@media (max-width: 900px) {
  .ec-hero-img-wrap img,
  .ec-about-img img { object-position: top center; }
}
@media (max-width: 900px) {
  .ec-desktop-only { display: none !important; }
}