@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
  --teal-primary: #00A79D;
  --green-primary: #39B54A;
  --light-green: #8DC63F;
  --gradient-primary: linear-gradient(135deg, var(--teal-primary) 0%, var(--green-primary) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 167, 157, 0.4) 0%, rgba(57, 181, 74, 0.4) 100%);
  
  --bg-primary: #fcfdfc;
  --bg-secondary: #f4f8f5;
  --bg-dark: #091712;
  --bg-dark-card: #11241d;
  
  --text-main: #14221d;
  --text-muted: #536b60;
  --text-light: #ffffff;
  --text-light-muted: #ffffffa6;
  
  --border-color: #e2ede7;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-focus: var(--teal-primary);
  
  --shadow-sm: 0 4px 12px rgba(13, 27, 21, 0.03);
  --shadow-md: 0 12px 32px rgba(13, 27, 21, 0.06);
  --shadow-lg: 0 20px 48px rgba(13, 27, 21, 0.1);
  --shadow-glow: 0 0 20px rgba(0, 167, 157, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

p {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-muted);
}

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

/* Custom Selection */
::selection {
  background-color: rgba(0, 167, 157, 0.2);
  color: var(--text-main);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(252, 253, 252, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtext {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -4px;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

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

.nav-cta {
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: var(--text-light) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--teal-primary) 100%);
}

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

.btn-secondary:hover {
  background-color: rgba(0, 167, 157, 0.05);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  background: radial-gradient(circle at 90% 10%, rgba(0, 167, 157, 0.06) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(57, 181, 74, 0.04) 0%, rgba(255, 255, 255, 0) 50%);
  overflow: hidden;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(0, 167, 157, 0.08);
  color: var(--teal-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 24px;
  margin-bottom: 36px;
  max-width: 540px;
}

/* Custom Video Card Mockup */
.video-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-dark);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition-slow);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgba(9, 23, 18, 0.8) 0%, rgba(9, 23, 18, 0.2) 100%);
  color: var(--text-light);
  padding: 24px;
  text-align: center;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: var(--shadow-glow);
  position: relative;
  transition: var(--transition-normal);
  margin-bottom: 16px;
}

.play-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--text-light);
  margin-left: 6px;
}

.play-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--teal-primary);
  animation: pulse-ring 2s infinite;
  opacity: 0.8;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(57, 181, 74, 0.4);
}

.video-mockup:hover .video-thumbnail {
  transform: scale(1.03);
  opacity: 0.65;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Logos Slider Niche */
.logos-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.logos-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.logos-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: var(--transition-normal);
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}

.logo-item svg {
  width: 32px;
  height: 32px;
  fill: var(--text-main);
}

.logo-item span {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* Main Section Styling */
.section-title {
  max-width: 680px;
  margin: 0 auto 64px auto;
}

.section-title h2 {
  margin-bottom: 16px;
}

/* Features/Services Cards */
.card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 167, 157, 0.15);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background-color: rgba(0, 167, 157, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--teal-primary);
}

.card h3 {
  margin-bottom: 16px;
}

/* Before / After Dashboard */
.ba-section {
  background-color: var(--bg-secondary);
}

.ba-dashboard {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 48px;
  margin-top: 48px;
}

.ba-toggle {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.ba-btn {
  padding: 12px 28px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ba-btn.active {
  background: var(--gradient-primary);
  color: var(--text-light);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.dashboard-panel {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.dashboard-panel.active {
  display: block;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.stat-box {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.stat-box.highlighted {
  border: 1px solid var(--teal-primary);
  background-color: rgba(0, 167, 157, 0.02);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1.1;
  color: var(--text-main);
}

.stat-value.green {
  color: var(--green-primary);
}

.ba-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  padding: 32px;
}

/* Custom Grid Chart */
.grid-map-mockup {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.grid-cell {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.2rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: var(--transition-slow);
}

.grid-cell.red {
  background-color: #ef4444;
}

.grid-cell.orange {
  background-color: #f97316;
}

.grid-cell.green {
  background-color: var(--green-primary);
  box-shadow: 0 0 15px rgba(57, 181, 74, 0.4);
}

.grid-cell-label {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Process / Timeline */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  width: 2px;
  height: 100%;
  background-color: var(--border-color);
}

.process-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 48px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.process-step h3 {
  margin-bottom: 8px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 24px auto;
  border: 4px solid var(--border-color);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-glow);
}

.team-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  outline: none;
}

.faq-question h3 {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-serif);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: var(--transition-normal);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-main);
  transition: var(--transition-normal);
}

.faq-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

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

.faq-item.active .faq-question h3 {
  color: var(--teal-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
  padding-top: 16px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.8s cubic-bezier(1, 0, 1, 0);
}

/* Interactive Forms & Intake Page */
.form-box {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 48px;
  max-width: 680px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(0, 167, 157, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #adb5bd;
}

/* Radio button card options */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.radio-card {
  position: relative;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-card-content {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.radio-card-content:hover {
  background-color: var(--bg-secondary);
}

.radio-card input[type="radio"]:checked + .radio-card-content {
  border-color: var(--teal-primary);
  background-color: rgba(0, 167, 157, 0.05);
  color: var(--teal-primary);
  font-weight: 600;
}

/* CTA Intake Sections (Dark Contrast) */
.dark-cta-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.dark-cta-section .section-title h2,
.dark-cta-section h3 {
  color: var(--text-light);
}

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

/* Blog Archive Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--teal-primary);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: var(--transition-fast);
}

.blog-card:hover .blog-card-link svg {
  transform: translateX(4px);
}

/* Individual Blog Page Styles */
.blog-post-header {
  padding-top: 180px;
  padding-bottom: 60px;
  text-align: center;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 24px;
}

.blog-post-content {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 96px;
}

.blog-post-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 28px;
  color: var(--text-main);
}

.blog-post-content h2 {
  font-size: 2rem;
  margin-top: 48px;
  margin-bottom: 20px;
}

.blog-post-content blockquote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.4;
  border-left: 4px solid var(--teal-primary);
  padding-left: 24px;
  margin: 40px 0;
  color: var(--text-main);
}

.blog-post-content ul, 
.blog-post-content ol {
  margin-left: 24px;
  margin-bottom: 28px;
  font-size: 1.15rem;
}

.blog-post-content li {
  margin-bottom: 12px;
}

.blog-post-cta {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border-color);
  margin-top: 60px;
}

/* Footer Styles */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-info p {
  color: var(--text-light-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer-links h3,
.footer-newsletter h3 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 24px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--teal-primary);
  padding-left: 4px;
}

.footer-newsletter p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form .form-control {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.newsletter-form .form-control:focus {
  border-color: var(--teal-primary);
}

footer .newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-light);
}

.newsletter-form .btn {
  padding: 12px 20px;
  background: var(--gradient-primary);
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light-muted);
  font-size: 0.85rem;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hamburger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 48px 24px;
    gap: 24px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    left: 0;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .radio-cards {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .section-padding {
    padding: 64px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-newsletter {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer-address {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Free analysis timeline pills */
.radio-cards .radio-card {
  position: relative;
}

.radio-cards .radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-cards .radio-card-content {
  display: block;
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 10px 20px;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  background-color: transparent;
  color: #000;
  transition: all 0.2s ease;
}

.radio-cards .radio-card-content:hover {
  background-color: #f0ede6;
}

.radio-cards .radio-card input[type="radio"]:checked + .radio-card-content {
  background-color: #000;
  color: #fff;
  border-color: #000;
  font-weight: 500;
}

/* Rotating Client Logo Marquee */
.logo-marquee-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  align-items: center;
  animation: marquee 25s linear infinite;
}

.logo-marquee-track img {
  height: 32px;
  max-width: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: all 0.3s ease;
}

.logo-marquee-track img:hover {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form .btn {
    width: 100%;
    text-align: center;
  }
}

/* Mobile Centering & Responsiveness Overrides */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content h1 {
    font-size: 2.4rem !important;
  }
  .newsletter-form {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  
  /* Intake analysis page header centering */
  .grid-2 > div.fade-in {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .grid-2 > div.fade-in h1 {
    font-size: 2.4rem !important;
    text-align: center;
  }
  .grid-2 > div.fade-in p {
    text-align: center;
  }
  .grid-2 > div.fade-in .hero-tag {
    display: inline-block;
    margin: 0 auto 24px auto;
  }
  
  /* Footer elements centering */
  .footer-info, .footer-links, .footer-address-block {
    text-align: center;
  }
  .footer-info .logo {
    justify-content: center;
    margin: 0 auto 20px auto;
  }
  
  /* Working with logo bar centering */
  .working-with-bar {
    flex-direction: column;
    gap: 16px !important;
    text-align: center;
  }
  
  /* Responsive Hero Image ordering toggle */
  .hero-visual-mobile {
    display: block !important;
  }
  .hero-visual {
    display: none !important;
  }
}
