/* ==========================================================================
   SafeShore Design System - Therapist/Counselor Template
   A calming, professional design for mental health practices
   Colors: Ocean Blues (#38bdf8, #0ea5e9) + Warm Cream (#fffbeb)
   Font: Merriweather (serif) for trust & readability
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Primary Colors - Calming Ocean Blues */
  --color-primary: #0ea5e9;
  --color-primary-light: #38bdf8;
  --color-primary-lighter: #7dd3fc;
  --color-primary-dark: #0284c7;
  --color-primary-darker: #0369a1;

  /* Accent Colors - Warm & Comforting */
  --color-accent: #fffbeb;
  --color-accent-warm: #fef3c7;
  --color-accent-gold: #f59e0b;

  /* Text Colors */
  --color-text-primary: #1e3a5f;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-text-white: #ffffff;

  /* Background Colors */
  --color-bg-white: #ffffff;
  --color-bg-cream: #fffbeb;
  --color-bg-light: #f8fafc;
  --color-bg-soft-blue: #f0f9ff;
  --color-bg-dark: #1e3a5f;

  /* Header background — overridable per color scheme */
  --color-header-bg: rgba(255, 255, 255, 0.95);
  --color-header-text: #1e3a5f;

  /* Border Colors */
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-border-blue: #bae6fd;

  /* Functional Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  --gradient-soft: linear-gradient(135deg, #f0f9ff 0%, #fffbeb 100%);
  --gradient-ocean: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
  --gradient-warm: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  --gradient-hero: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);

  /* Typography */
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Font Sizes (Fluid Typography) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 4rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows - Soft & Calming */
  --shadow-sm: 0 1px 2px 0 rgba(30, 58, 95, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(30, 58, 95, 0.08), 0 2px 4px -2px rgba(30, 58, 95, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(30, 58, 95, 0.08), 0 4px 6px -4px rgba(30, 58, 95, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(30, 58, 95, 0.1), 0 8px 10px -6px rgba(30, 58, 95, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(30, 58, 95, 0.15);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.15);
  --shadow-card: 0 4px 20px rgba(30, 58, 95, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.heading-xl {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
}

.heading-md {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.25;
}

.heading-sm {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
}

.text-lg {
  font-size: var(--text-lg);
  line-height: 1.7;
}

.text-sm {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-light {
  color: var(--color-text-light);
}

.text-primary {
  color: var(--color-primary);
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: var(--space-4xl) 0;
}

.section-white {
  background-color: var(--color-bg-white);
}

.section-cream {
  background-color: var(--color-bg-cream);
}

.section-light {
  background-color: var(--color-bg-light);
}

.section-soft-blue {
  background-color: var(--color-bg-soft-blue);
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
}

.section-gradient {
  background: var(--gradient-soft);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .label {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.section-header .heading-lg {
  margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   Grid Systems
   -------------------------------------------------------------------------- */
.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.grid-responsive-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.grid-responsive-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.grid-responsive-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-white);
  box-shadow: var(--shadow-md), 0 4px 14px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px rgba(14, 165, 233, 0.35);
  color: var(--color-text-white);
}

.btn-secondary {
  background: var(--color-bg-white);
  color: var(--color-primary);
  border: 2px solid var(--color-border-blue);
}

.btn-secondary:hover {
  background: var(--color-bg-soft-blue);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
}

.btn-white {
  background: var(--color-bg-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-primary);
  padding: 12px 20px;
}

.btn-ghost:hover {
  background: var(--color-bg-soft-blue);
  color: var(--color-primary);
}

.btn-lg {
  padding: 18px 36px;
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: 20px 44px;
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   Labels & Badges
   -------------------------------------------------------------------------- */
.label {
  display: inline-block;
  padding: 8px 16px;
  background: var(--color-bg-soft-blue);
  color: var(--color-primary-dark);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.label-primary {
  background: var(--gradient-primary);
  color: var(--color-text-white);
}

.label-warm {
  background: var(--gradient-warm);
  color: var(--color-accent-gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: var(--color-bg-soft-blue);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border-blue);
}

.badge-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-warm {
  background: var(--color-accent-warm);
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-safe {
  background: var(--color-bg-soft-blue);
  color: var(--color-primary-dark);
  border: 2px solid var(--color-border-blue);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-safe {
  background: var(--color-bg-white);
  border: 2px solid var(--color-border-blue);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-smooth);
}

.card-safe:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.card-warm {
  background: var(--gradient-warm);
  border: 2px solid var(--color-accent-warm);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.card-highlighted {
  background: var(--gradient-soft);
  border: 3px solid var(--color-primary-light);
  position: relative;
}

.card-highlighted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-emoji {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-soft-blue);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 28px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.card-description {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Service Cards (Therapy Types)
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 2px solid var(--color-border);
  transition: all var(--transition-smooth);
  text-align: center;
}

.service-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-soft);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 36px;
  border: 2px solid var(--color-border-blue);
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.service-description {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.service-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Pricing Cards (Session Fees)
   -------------------------------------------------------------------------- */
.pricing-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  border: 2px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-xl);
}

.pricing-card-popular {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.pricing-card-popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: var(--space-xl);
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.pricing-duration {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
}

.pricing-amount {
  margin-bottom: var(--space-xl);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text-primary);
}

.pricing-price .currency {
  font-size: var(--text-xl);
  vertical-align: top;
  margin-right: 2px;
}

.pricing-period {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Therapist Profile Card
   -------------------------------------------------------------------------- */
.therapist-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.therapist-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.therapist-image {
  width: 100%;
  height: 280px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  position: relative;
}

.therapist-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(240, 249, 255, 0.8));
}

.therapist-content {
  padding: var(--space-xl);
  text-align: center;
}

.therapist-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.therapist-credentials {
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.therapist-specialty {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.therapist-bio {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.therapist-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.specialty-tag {
  background: var(--color-bg-soft-blue);
  color: var(--color-primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Testimonial Cards
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 2px solid var(--color-border);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-left: var(--space-lg);
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 64px;
  color: var(--color-primary-light);
  font-family: var(--font-heading);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: var(--gradient-soft);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid var(--color-border-blue);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.testimonial-detail {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  color: var(--color-accent-gold);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-item {
  background: var(--color-bg-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-primary-light);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--color-primary);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-input::placeholder {
  color: var(--color-text-light);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 50px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.form-helper {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Trust Badges
   -------------------------------------------------------------------------- */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.trust-badge-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-soft-blue);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 2px solid var(--color-border-blue);
}

.trust-badge-text {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Process Steps
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

.process-number {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.process-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.process-description {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Resource Cards (For Resources Page)
   -------------------------------------------------------------------------- */
.resource-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.resource-image {
  width: 100%;
  height: 180px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.resource-content {
  padding: var(--space-xl);
}

.resource-type {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-soft-blue);
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resource-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.resource-description {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.section-cta {
  padding: var(--space-4xl) 0;
  background: var(--gradient-soft);
}

.section-cta-box {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  text-align: center;
  border: 2px solid var(--color-border-blue);
  box-shadow: var(--shadow-xl);
}

.cta-dark {
  background: var(--color-bg-dark);
  padding: var(--space-4xl) 0;
}

.cta-dark .heading-lg,
.cta-dark .heading-md {
  color: var(--color-text-white);
}

.cta-dark .text-muted {
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  background: var(--gradient-hero);
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-bg-white);
  border: 2px solid var(--color-border-blue);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image-main {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}


/* --------------------------------------------------------------------------
   Confidentiality Badge
   -------------------------------------------------------------------------- */
.confidential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  background: var(--color-bg-soft-blue);
  border: 2px solid var(--color-border-blue);
  border-radius: var(--radius-lg);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: var(--text-sm);
}

.confidential-badge::before {
  content: '🔒';
}

/* --------------------------------------------------------------------------
   Sliding Scale Info
   -------------------------------------------------------------------------- */
.sliding-scale-info {
  background: var(--gradient-warm);
  border: 2px solid var(--color-accent-warm);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
}

.sliding-scale-info h4 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.sliding-scale-info p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Navigation Header
   -------------------------------------------------------------------------- */
.header {
  position: relative;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.header-scrolled {
  box-shadow: var(--shadow-md);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  text-decoration: none;
}

.header-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header-nav-link {
  color: var(--color-header-text);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.header-nav-link:hover {
  color: var(--color-primary);
}

.header-nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text-white);
  margin-bottom: var(--space-md);
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.footer-description {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.footer-badges {
  display: flex;
  gap: var(--space-lg);
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
  font-size: var(--text-xs);
}

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
    padding: var(--space-4xl) 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .header-inner {
    height: 70px;
  }

  .header-nav {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-item {
    padding: var(--space-md);
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    padding: var(--space-xl);
  }
}

@media (max-width: 480px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    font-size: var(--text-xs);
    padding: 8px 16px;
  }

  .btn-lg {
    padding: 16px 28px;
  }

  .section-cta-box {
    padding: var(--space-xl);
  }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.flex {
  display: flex;
}

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

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

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Mobile Menu Button + Nav Overlay
   Shared across all safeshore-header-*.html variants. Hidden by default;
   header JS toggles `.active` to reveal the overlay on mobile.
   -------------------------------------------------------------------------- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 100px 24px 40px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 300px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .footer,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .section {
    padding: 20pt 0;
  }
}
