/* ==========================================================================
   Mind2Heart - Design System & Custom Styles
   Vibrant & Poppy Color Palette System:
   1. Poppy Coral Orange (#FF5D39)
   2. Poppy Magenta Pink (#F72585)
   3. Poppy Electric Cyan Teal (#00B4D8)
   4. Poppy Sunshine Amber (#FFC436)
   
   Base Canvas: Crisp Soft Pearl (#FAFAFC)
   Dark Contrast Elements: Deep Midnight Indigo (#0F172A)
   Typography: Cormorant Garamond (Serif), Inter (Sans-Serif)
   ========================================================================== */

:root {
  /* 4 Core Poppy Color Palette Tokens */
  --color-poppy-coral: #FF5D39;
  --color-poppy-coral-hover: #E04824;
  --color-poppy-magenta: #F72585;
  --color-poppy-magenta-hover: #D6136C;
  --color-poppy-teal: #00B4D8;
  --color-poppy-teal-hover: #0096B4;
  --color-poppy-amber: #FFC436;
  --color-poppy-amber-hover: #E5AD24;
  
  /* Gradients */
  --gradient-poppy-warm: linear-gradient(135deg, #FF5D39 0%, #F72585 100%);
  --gradient-poppy-cool: linear-gradient(135deg, #00B4D8 0%, #7209B7 100%);
  --gradient-poppy-sun: linear-gradient(135deg, #FFC436 0%, #FF5D39 100%);
  --gradient-hero-bg: linear-gradient(180deg, #FFF5F2 0%, #F0F9FF 100%);
  
  /* Base & Structural Colors */
  --color-bg-canvas: #FAFAFC;
  --color-primary-midnight: #0F172A;
  --color-text-charcoal: #1E293B;
  --color-text-muted: #475569;
  --color-pure-white: #FFFFFF;
  --color-border-subtle: rgba(15, 23, 42, 0.1);
  --color-border-strong: rgba(15, 23, 42, 0.2);
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(247, 37, 133, 0.15);
  --shadow-poppy-coral: 0 8px 25px rgba(255, 93, 57, 0.35);
  --shadow-poppy-magenta: 0 8px 25px rgba(247, 37, 133, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.15s ease-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-canvas);
  color: var(--color-text-charcoal);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Accessibility: Skip to Content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary-midnight);
  color: var(--color-pure-white);
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Focus Visible Utility */
:focus-visible {
  outline: 3px solid var(--color-poppy-magenta);
  outline-offset: 3px;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary-midnight);
}

.text-editorial-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

.text-section-heading {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

.text-card-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.lead-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Top Announcement Strip with Poppy Gradient Accent */
.announcement-bar {
  background: var(--gradient-poppy-warm);
  color: var(--color-pure-white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 0;
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-bar a {
  color: var(--color-pure-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.announcement-bar a:hover {
  opacity: 0.9;
}

/* Header & Sticky Nav */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: var(--transition-smooth);
}

.header-sticky.scrolled {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  transition: var(--transition-smooth);
}

/* Brand Wordmark */
.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-primary-midnight);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-title .highlight-mind {
  color: var(--color-poppy-coral);
}

.brand-title .highlight-heart {
  color: var(--color-poppy-magenta);
}

.brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
  font-weight: 600;
}

/* Desktop Nav Links */
.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--gradient-poppy-warm);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover {
  color: var(--color-poppy-coral);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-poppy-warm);
  color: var(--color-pure-white);
  box-shadow: var(--shadow-poppy-coral);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 93, 57, 0.45);
}

.btn-secondary {
  background-color: var(--color-pure-white);
  color: var(--color-primary-midnight);
  border: 2px solid var(--color-poppy-teal);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.15);
}

.btn-secondary:hover {
  background-color: #E6F8FC;
  transform: translateY(-2px);
}

.btn-terracotta {
  background: var(--gradient-poppy-sun);
  color: var(--color-primary-midnight);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255, 196, 54, 0.4);
}

.btn-terracotta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 196, 54, 0.5);
}

.btn-outline-sage {
  background-color: var(--color-pure-white);
  color: var(--color-primary-midnight);
  border: 2px solid var(--color-poppy-coral);
}

.btn-outline-sage:hover {
  background-color: #FFF0ED;
  color: var(--color-poppy-coral);
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-poppy-coral);
  border-radius: var(--radius-sm);
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background-color: var(--color-pure-white);
  z-index: 2000;
  padding: 2rem 1.5rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 0 6rem 0;
  overflow: hidden;
  background: var(--gradient-hero-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background-color: var(--color-pure-white);
  border: 2px solid var(--color-poppy-amber);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary-midnight);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-founder-badge .badge-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-poppy-coral);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-poppy-coral);
}

/* Full-Width Reinvented Hero Welcome Banner */
.welcome-banner-hero-fullwidth {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 85vh;
  background-color: var(--color-primary-midnight);
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: -1rem;
}

/* Dynamic Animated Hue Glow Background Canvas */
.welcome-hue-bg-canvas {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E0A2A 40%, #003049 100%);
  opacity: 0.98;
  z-index: 1;
}

.welcome-hue-blob-1 {
  position: absolute;
  top: -15%;
  right: 10%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 37, 133, 0.55) 0%, rgba(247, 37, 133, 0) 70%);
  filter: blur(70px);
  animation: hueMorphGlow 12s infinite alternate ease-in-out;
  z-index: 2;
  pointer-events: none;
}

.welcome-hue-blob-2 {
  position: absolute;
  bottom: -20%;
  left: 5%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.45) 0%, rgba(0, 180, 216, 0) 70%);
  filter: blur(80px);
  animation: hueMorphGlow 16s infinite alternate-reverse ease-in-out;
  z-index: 2;
  pointer-events: none;
}

.welcome-hue-blob-3 {
  position: absolute;
  top: 25%;
  left: 40%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 54, 0.35) 0%, rgba(255, 196, 54, 0) 70%);
  filter: blur(75px);
  animation: hueMorphGlow 10s infinite alternate ease-in-out;
  z-index: 2;
  pointer-events: none;
}

@keyframes hueMorphGlow {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(40px, -50px) scale(1.15) rotate(90deg);
  }
  100% {
    transform: translate(-30px, 30px) scale(0.9) rotate(180deg);
  }
}

/* Content & Layout Grid */
.welcome-fullwidth-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
  .welcome-fullwidth-container {
    padding: 5.5rem 2rem;
  }
}

.welcome-fullwidth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .welcome-fullwidth-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Glassmorphic Photo Frame with Hue Mask */
.welcome-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(247, 37, 133, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin: 0 auto;
  transition: transform 0.5s ease;
}

.welcome-photo-frame:hover {
  transform: translateY(-5px);
}

.welcome-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Precision crop focusing on face to waist */
  object-position: 50% 12%;
  display: block;
  transform: scale(1.35);
  transform-origin: 50% 20%;
  animation: subtleZoomPulse 12s ease-in-out infinite alternate;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Subtle Continuous Zoom-In Breathing Animation */
@keyframes subtleZoomPulse {
  0% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1.48);
  }
}

.welcome-photo-frame:hover .welcome-photo-img {
  transform: scale(1.54);
}

.welcome-photo-hue-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247, 37, 133, 0.3) 0%, rgba(0, 180, 216, 0.25) 50%, rgba(15, 23, 42, 0.7) 100%);
  mix-blend-mode: color-dodge;
  animation: photoHuePulse 8s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes photoHuePulse {
  0% { filter: hue-rotate(0deg); opacity: 0.6; }
  100% { filter: hue-rotate(60deg); opacity: 0.85; }
}

.welcome-photo-caption {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(15,23,42,0.92) 100%);
  padding: 2rem 1.5rem 1.25rem 1.5rem;
  color: var(--color-pure-white);
  z-index: 3;
}

.welcome-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-poppy-amber);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.welcome-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-poppy-coral);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-poppy-coral);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}
    filter: hue-rotate(35deg) opacity(0.95);
  }
}

.welcome-banner-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
  color: var(--color-pure-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .welcome-banner-content {
    padding: 3.5rem 3rem;
  }
}

.welcome-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-poppy-amber);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.welcome-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-poppy-coral);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-poppy-coral);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.welcome-banner-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-pure-white);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.welcome-banner-quote {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.welcome-banner-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
}

.welcome-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-poppy-amber);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.hero-availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Hero Visual Card with Poppy Glowing Elements */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-pure-white);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(247, 37, 133, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-ambient-graphic {
  position: relative;
  width: 190px;
  height: 190px;
  margin-bottom: 1.5rem;
}

.ambient-shape-1 {
  position: absolute;
  inset: 0;
  border-radius: 54% 46% 70% 30% / 30% 54% 46% 70%;
  background: var(--gradient-poppy-warm);
  opacity: 0.85;
  animation: floatMorph 10s infinite alternate ease-in-out;
}

.ambient-shape-2 {
  position: absolute;
  inset: 20px;
  border-radius: 70% 30% 46% 54% / 54% 30% 70% 46%;
  background: var(--gradient-poppy-cool);
  opacity: 0.85;
  animation: floatMorph 7s infinite alternate-reverse ease-in-out;
}

.hero-graphic-center-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pure-white);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

@keyframes floatMorph {
  0% { border-radius: 54% 46% 70% 30% / 30% 54% 46% 70%; transform: rotate(0deg); }
  100% { border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%; transform: rotate(180deg); }
}

/* Trust & Reassurance Strip (Poppy Gradient Surface) */
.reassurance-strip {
  background: var(--gradient-poppy-cool);
  color: var(--color-pure-white);
  padding: 3.5rem 0;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .reassurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reassurance-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reassurance-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.reassurance-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.reassurance-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--color-pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-poppy-magenta);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Section Spacing */
.section-padding {
  padding: 5.5rem 0;
}

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

/* About Clinic Section */
.about-section {
  background-color: var(--color-bg-canvas);
}

.about-card-wrapper {
  background-color: var(--color-pure-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border-subtle);
  position: relative;
  overflow: hidden;
}

.about-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-poppy-warm);
}

@media (min-width: 768px) {
  .about-card-wrapper {
    padding: 4rem 3.5rem;
  }
}

/* Concerns Grid Section */
.concerns-section {
  background-color: #FFF5F2;
}

.concerns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .concerns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .concerns-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.concern-item-card {
  background-color: var(--color-pure-white);
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.concern-item-card:hover {
  border-color: var(--color-poppy-coral);
  transform: translateY(-3px);
  box-shadow: var(--shadow-poppy-coral);
}

.concern-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-poppy-sun);
  color: var(--color-primary-midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 196, 54, 0.35);
}

/* Therapy Services Section */
.services-section {
  background-color: var(--color-bg-canvas);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background-color: var(--color-pure-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 2px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-poppy-magenta);
}

.service-badge {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--gradient-poppy-warm);
  color: var(--color-pure-white);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(247, 37, 133, 0.25);
}

/* Founder Profile Section */
.founder-section {
  background-color: #F0F9FF;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .founder-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.founder-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-pure-white);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-poppy-teal);
  aspect-ratio: 4 / 5;
}

.founder-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.35);
  transform-origin: 50% 20%;
  animation: subtleZoomPulse 12s ease-in-out infinite alternate;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.founder-placeholder-visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #E0F2FE 0%, #FFE4E6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* Therapy Process Section */
.process-section {
  background-color: var(--color-bg-canvas);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-card {
  position: relative;
  background-color: var(--color-pure-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.process-card:hover {
  border-color: var(--color-poppy-teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  background: var(--gradient-poppy-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

/* Why Choose Mind2Heart Section */
.why-section {
  background: var(--gradient-poppy-warm);
  color: var(--color-pure-white);
}

.why-section h2 {
  color: var(--color-pure-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.why-item-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.why-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-poppy-amber);
  color: var(--color-primary-midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* FAQ Accordion Section */
.faq-section {
  background-color: var(--color-bg-canvas);
}

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

.faq-item {
  background-color: var(--color-pure-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-button {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-midnight);
}

.faq-icon-chevron {
  transition: transform 0.3s ease;
  color: var(--color-poppy-coral);
  flex-shrink: 0;
}

.faq-button[aria-expanded="true"] .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--color-text-muted);
}

.faq-panel.open {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

/* Appointment Booking Section */
.appointment-section {
  background-color: #FFF5F2;
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .appointment-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.action-card {
  background-color: var(--color-pure-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 2px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition-smooth);
  flex-wrap: wrap;
}

.action-card:hover {
  border-color: var(--color-poppy-magenta);
  box-shadow: var(--shadow-poppy-magenta);
}

/* Appointment Form Styling */
.appointment-form-card {
  background-color: var(--color-pure-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 2px solid var(--color-border-subtle);
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-midnight);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background-color: #FAFAFC;
  color: var(--color-text-charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-poppy-magenta);
  box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.2);
  background-color: var(--color-pure-white);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--color-poppy-coral);
}

.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: #E6F4EA;
  color: #137333;
  border: 1px solid #CEEAD6;
}

.form-feedback.error {
  display: block;
  background-color: #FCE8E6;
  color: #C5221F;
  border: 1px solid #FAD2CF;
}

/* Location Section */
.location-section {
  background-color: var(--color-bg-canvas);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.map-placeholder-card {
  width: 100%;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #E0F2FE 0%, #FFF5F2 100%);
  border: 2px solid var(--color-poppy-teal);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* Emergency Support Notice Banner */
.support-notice-banner {
  background-color: #FFF0ED;
  border-top: 2px solid var(--color-poppy-coral);
  border-bottom: 2px solid var(--color-poppy-coral);
  padding: 1.5rem 0;
  color: var(--color-text-charcoal);
  font-size: 0.88rem;
}

.notice-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.notice-icon {
  color: var(--color-poppy-coral);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Footer Section */
.site-footer {
  background-color: var(--color-primary-midnight);
  color: var(--color-pure-white);
  padding: 4rem 0 2rem 0;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: var(--color-pure-white);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a,
.footer-links button {
  color: #94A3B8;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--color-poppy-amber);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.back-to-top-btn {
  background: var(--gradient-poppy-warm);
  color: var(--color-pure-white);
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(255, 93, 57, 0.3);
}

.back-to-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 93, 57, 0.45);
}

/* Mobile Fixed Bottom Contact Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background-color: var(--color-pure-white);
  border-top: 2px solid var(--color-border-strong);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-midnight);
  background-color: #F1F5F9;
  border: 1px solid var(--color-border-subtle);
  transition: background-color 0.2s ease;
}

.mobile-bottom-btn.highlight {
  background: var(--gradient-poppy-warm);
  color: var(--color-pure-white);
  border: none;
}

/* Legal View Modal */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.legal-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-card {
  background-color: var(--color-pure-white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-poppy-coral);
  overflow: hidden;
}

.legal-modal-header {
  padding: 1.5rem 2rem;
  background: var(--gradient-poppy-warm);
  color: var(--color-pure-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-header h3 {
  color: var(--color-pure-white);
  margin: 0;
  font-size: 1.75rem;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--color-pure-white);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.legal-modal-body {
  padding: 2rem;
  overflow-y: auto;
  line-height: 1.7;
}

/* Padding offset for mobile bottom bar so content is never covered */
@media (max-width: 991px) {
  body {
    padding-bottom: 70px;
  }
}

/* Compact Team Showcase Section */
.team-section {
  background-color: var(--color-bg-canvas);
}

.team-card-featured {
  background-color: var(--color-pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--color-poppy-teal);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  transition: var(--transition-smooth);
}

@media (min-width: 640px) {
  .team-card-featured {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.team-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-poppy-magenta);
}

.team-card-featured .team-card-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background-color: #F1F5F9;
}

.team-card-featured .team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-card-featured:hover .team-card-img {
  transform: scale(1.06);
}

.team-card-content {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--gradient-poppy-warm);
  color: var(--color-pure-white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  margin-bottom: 1rem;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
