/* ============================================
   Vennbridge Consulting Inc. — style.css
   Ocean Teal palette, Space Grotesk + DM Sans
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-300: #5eead4;
  --brand-400: #2dd4bf;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --brand-900: #134e4a;
  --brand-950: #0c322f;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --red-500: #ef4444;
  --green-600: #16a34a;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-700);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--gray-900);
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* --- Typography: Mixed Weight --- */
.font-light {
  font-weight: 300;
}

.font-black {
  font-weight: 900;
}

/* --- Layout --- */
.container-narrow {
  max-width: 64rem; /* max-w-5xl = 1024px */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow-sm {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-wide {
  width: 100%;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-tinted {
  background-color: var(--brand-50);
}

/* --- Section Headings: Two-Tone --- */
.section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.section-heading .brand-text {
  color: var(--brand-600);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* --- Buttons: Pill --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-pill {
  border-radius: 9999px;
  padding: 0.75rem 2rem;
}

.btn-primary {
  background-color: var(--brand-600);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--brand-700);
  color: var(--white);
}

.btn-glow {
  background-color: var(--brand-500);
  color: var(--white);
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.4), 0 0 40px rgba(13, 148, 136, 0.2);
}

.btn-glow:hover {
  background-color: var(--brand-400);
  color: var(--white);
  box-shadow: 0 0 30px rgba(13, 148, 136, 0.6), 0 0 60px rgba(13, 148, 136, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-200);
  border: 1px solid var(--brand-400);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--brand-100);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-100);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* --- Navigation: Transparent to Solid --- */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-transparent {
  background-color: transparent;
}

.nav-solid {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.nav-scrolled {
  background-color: var(--white) !important;
  box-shadow: var(--shadow-md);
}

.nav-scrolled .logo-text {
  color: var(--gray-900) !important;
}

.nav-scrolled .nav-links a:not(.nav-cta) {
  color: var(--gray-700) !important;
}

.nav-scrolled .nav-links a:not(.nav-cta):hover {
  color: var(--brand-600) !important;
}

.nav-scrolled .hamburger-line {
  background-color: var(--gray-800) !important;
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.nav-transparent .logo-text {
  color: var(--white);
}

.nav-solid .logo-text {
  color: var(--gray-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.nav-cta) {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.nav-transparent .nav-links a:not(.nav-cta) {
  color: var(--brand-100);
}

.nav-transparent .nav-links a:not(.nav-cta):hover {
  color: var(--white);
}

.nav-solid .nav-links a:not(.nav-cta) {
  color: var(--gray-700);
}

.nav-solid .nav-links a:not(.nav-cta):hover {
  color: var(--brand-600);
}

/* Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  transition: background-color 0.3s ease;
}

.nav-transparent .hamburger-line {
  background-color: var(--white);
}

.nav-solid .hamburger-line {
  background-color: var(--gray-800);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: var(--brand-950);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--brand-200);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-100);
  transition: color 0.2s ease;
}

.mobile-link:hover {
  color: var(--white);
}

.mobile-cta {
  margin-top: 1rem;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-950) 100%);
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

/* Dot Grid Background */
.dot-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 52rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.glow-text {
  text-shadow: 0 0 30px rgba(13, 148, 136, 0.6);
  color: var(--brand-300);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--brand-100);
  line-height: 1.7;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Floating Stat Cards */
.floating-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-card {
  padding: 1.25rem 1.75rem;
  text-align: center;
  min-width: 160px;
}

.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
}

.glass-card-light {
  background: rgba(13, 148, 136, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--brand-200);
  border-radius: 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-300);
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--brand-200);
  margin-top: 0.25rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s infinite;
}

.scroll-arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--brand-400);
  border-bottom: 2px solid var(--brand-400);
  transform: rotate(45deg);
  opacity: 0.6;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* --- Social Proof: Icon + Stat Pairs --- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-pair {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}

.stat-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  background-color: var(--brand-50);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.stat-pair-text {
  display: flex;
  flex-direction: column;
}

.stat-pair-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.stat-pair-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.125rem;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  border-radius: 1rem;
}

.card-shadow {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s ease;
}

.card-shadow:hover {
  box-shadow: var(--shadow-lg);
}

.service-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: var(--brand-50);
  border-radius: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-bullets {
  padding-left: 1.25rem;
  list-style: disc;
}

.service-bullets li {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  line-height: 1.5;
}

.service-highlight {
  background: var(--brand-50);
  border-left: 3px solid var(--brand-500);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --- Case Study --- */
.case-study-card {
  padding: 2.5rem;
}

.case-study-header {
  margin-bottom: 2rem;
}

.case-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.case-study-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.case-study-body {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.case-study-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.case-study-body p {
  color: var(--gray-600);
  line-height: 1.7;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.result-item {
  text-align: center;
  padding: 1rem;
  background: var(--brand-50);
  border-radius: 0.75rem;
}

.result-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-700);
}

.result-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.case-study-quote {
  border-top: 1px solid var(--brand-200);
  padding-top: 1.5rem;
}

.case-study-quote blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.case-study-quote cite {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: normal;
}

/* --- Before/After --- */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ba-card {
  padding: 1.75rem;
  border-radius: 1rem;
}

.ba-header {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.ba-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ba-before, .ba-after {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ba-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
}

.ba-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.ba-red {
  color: var(--red-500);
}

.ba-green {
  color: var(--green-600);
}

.ba-arrow {
  font-size: 1.25rem;
  color: var(--gray-400);
  flex-shrink: 0;
}

.ba-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* --- Dark CTA Banner --- */
.cta-dark-section {
  position: relative;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-950) 100%);
  overflow: hidden;
  text-align: center;
}

.cta-dark-inner {
  position: relative;
  z-index: 1;
}

.cta-dark-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cta-dark-sub {
  font-size: 1.125rem;
  color: var(--brand-200);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 1.75rem;
  border-radius: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-cite {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-style: normal;
}

/* --- FAQ: Narrow Centered --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--brand-600);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--brand-500);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Contact / Form --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.contact-item svg {
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--gray-700);
}

.contact-item a:hover {
  color: var(--brand-600);
}

/* Form Styles */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label,
.form-group legend {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group legend {
  padding: 0;
  margin-bottom: 0.5rem;
}

fieldset.form-group {
  border: none;
  padding: 0;
}

.required {
  color: var(--red-500);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-600);
  cursor: pointer;
}

/* --- Footer: Dark 3-col --- */
.site-footer {
  background-color: var(--brand-950);
  color: var(--brand-200);
  padding-top: 4rem;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--brand-200);
  margin-bottom: 0.75rem;
}

.footer-bn {
  font-size: 0.8125rem;
  color: var(--brand-400);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--brand-200);
  transition: color 0.2s ease;
}

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

.footer-contact {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--brand-200);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--brand-400);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: 1.25rem 1.5rem;
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-inner p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.cookie-inner a {
  color: var(--brand-600);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* --- Legal Pages --- */
.legal-page {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
}

.legal-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.legal-page ul li {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.legal-address {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 0.75rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-top: 1rem;
}

.legal-address a {
  color: var(--brand-600);
}

/* --- Thanks Page --- */
.thanks-page {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-container {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.thanks-icon {
  margin-bottom: 2rem;
}

.thanks-page h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.thanks-message {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.thanks-note {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.thanks-note a {
  color: var(--brand-600);
}

.thanks-actions {
  margin-bottom: 3rem;
}

.thanks-footer-info {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.thanks-footer-info p {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* --- Fade In Animation --- */
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
}

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

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

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

  .before-after-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 6vw, 2.75rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .floating-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    min-width: auto;
    width: 100%;
    max-width: 280px;
  }

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

  .section-heading {
    font-size: 1.75rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .case-study-card {
    padding: 1.5rem;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .py-24 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .py-12 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .cta-dark-heading {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .results-grid {
    grid-template-columns: 1fr;
  }

  .ba-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ba-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}
