/* =========================
   Renova Acordos - Main Stylesheet
   Vanilla CSS Version
   =========================== */

/* =============== CSS RESET =============== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* =============== CSS VARIABLES =============== */
:root {
  /* Fonts */
  --font-inter-tight: 'Inter Tight', sans-serif;

  /* Colors */
  --color-primary-50: #f7f9fb;
  --color-primary-100: #e8eef4;
  --color-primary-200: #d1dce6;
  --color-primary-300: #a8bdd0;
  --color-primary-400: #7a9ab8;
  --color-primary-500: #5b8bb5;
  --color-primary-600: #4a7a9e;
  --color-primary-700: #3d6585;
  --color-primary-800: #34546d;

  --color-secondary: #2c3e50;
  --color-accent: #f5f7fa;
  --color-split-text: #2c3e50;

  --color-background-1: #f8fafb;
  --color-background-2: #f1f5f8;
  --color-background-3: #e8eef3;
  --color-background-4: #dfe7ee;
  --color-background-5: #1e2a36;
  --color-background-6: #243342;
  --color-background-7: #2c3e50;
  --color-background-8: #1a2634;
  --color-background-9: #34495e;
  --color-background-10: #e0e6ec;
  --color-background-11: #95a5b5;
  --color-background-12: #d5dee6;

  --color-stroke-1: #d1dce6;
  --color-stroke-2: #d8e2eb;
  --color-stroke-3: #c5d3e0;
  --color-stroke-4: #e0e8f0;
  --color-stroke-5: #2c3e50;
  --color-stroke-6: #34495e;
  --color-stroke-7: #3d5166;
  --color-stroke-8: #4a6278;
  --color-stroke-9: var(--color-background-8);

  --color-ns-yellow: #a8c5da;
  --color-ns-green: #7eb8b8;
  --color-ns-red: #9fb8c8;
  --color-ns-cyan: #7aafc4;
  --color-ns-green-light: #d4e8e8;
  --color-ns-cyan-light: #d6e8f0;
  --color-ns-yellow-light: #e4eff5;

  /* Gradients */
  --color-gradient-1: linear-gradient(135deg, #7a9ab8 0%, #a8c5da 100%);
  --color-gradient-2: linear-gradient(135deg, #5b8bb5 0%, #7eb8b8 100%);
  --color-gradient-3: linear-gradient(135deg, #7aafc4 0%, #a8bdd0 100%);
  --color-gradient-4: linear-gradient(135deg, #4a7a9e 0%, #7aafc4 100%);
  --color-gradient-5: linear-gradient(165deg, rgba(248, 250, 251, 0.5) 0.51%, rgba(248, 250, 251, 0) 64.43%);

  /* Typography */
  --text-heading-1: 4.25rem;
  --text-heading-1-lh: 110%;
  --text-heading-2: 3.25rem;
  --text-heading-2-lh: 120%;
  --text-heading-3: 2.5rem;
  --text-heading-3-lh: 120%;
  --text-heading-4: 2rem;
  --text-heading-4-lh: 130%;
  --text-heading-5: 1.5rem;
  --text-heading-5-lh: 140%;
  --text-heading-6: 1.25rem;
  --text-heading-6-lh: 140%;
  --text-tagline-1: 1rem;
  --text-tagline-1-lh: 150%;
  --text-tagline-2: 0.875rem;
  --text-tagline-2-lh: 150%;
  --text-tagline-3: 0.75rem;
  --text-tagline-3-lh: 150%;

  /* Shadows */
  --shadow-1: 0px 1px 2px 0px rgba(44, 62, 80, 0.06);
  --shadow-2: 0px 10px 20px -5px rgba(44, 62, 80, 0.06), 0px 20px 65px -5px rgba(44, 62, 80, 0.06);
  --shadow-3: 0px 25px 80px -12px rgba(44, 62, 80, 0.12);
  --shadow-4: 0px 10px 20px -5px rgba(44, 62, 80, 0.06), 0px 20px 65px -5px rgba(44, 62, 80, 0.06);
  --shadow-5: 0px 25px 80px -12px rgba(44, 62, 80, 0.12);
  --shadow-6: 0px 44px 64px 0px rgba(44, 62, 80, 0.14);
  --shadow-7: 0px 4px 6px -1px rgba(44, 62, 80, 0.1), 0px 2px 4px -1px rgba(44, 62, 80, 0.06);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* Dark Mode Variables */
.dark {
  --color-split-text: #e8eef4;

  /* Enhanced dark mode shadows */
  --shadow-1: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  --shadow-2: 0px 10px 20px -5px rgba(0, 0, 0, 0.3), 0px 20px 65px -5px rgba(0, 0, 0, 0.2);
  --shadow-3: 0px 25px 80px -12px rgba(0, 0, 0, 0.4);
}

/* Dark mode theme transition */
body, .header, .footer, .mobile-menu,
.feature-card, .accordion-item, .testimonial-card,
.step-card, .diff-card-inner, .overview-sidebar,
.feature-grid-card, .process-step, .case-card,
.blog-card, .form-input, .form-textarea {
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

/* =============== BASE TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-inter-tight);
  color: var(--color-secondary);
  font-weight: 500;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
  color: var(--color-accent);
}

h1 {
  font-size: var(--text-heading-4);
  line-height: var(--text-heading-4-lh);
}

h2 {
  font-size: var(--text-heading-5);
  line-height: var(--text-heading-5-lh);
}

h3 {
  font-size: var(--text-heading-5);
  line-height: var(--text-heading-5-lh);
}

h4 {
  font-size: var(--text-heading-4);
  line-height: var(--text-heading-4-lh);
}

h5 {
  font-size: var(--text-heading-5);
  line-height: var(--text-heading-5-lh);
}

h6 {
  font-size: var(--text-heading-6);
  line-height: var(--text-heading-6-lh);
}

p {
  font-size: var(--text-tagline-2);
  line-height: var(--text-tagline-2-lh);
  color: rgba(44, 62, 80, 0.6);
  font-weight: 400;
}

.dark p {
  color: rgba(245, 247, 250, 0.6);
}

/* Responsive Typography */
@media (min-width: 640px) {
  h1 {
    font-size: var(--text-heading-3);
    line-height: var(--text-heading-3-lh);
  }
  h2 {
    font-size: var(--text-heading-4);
    line-height: var(--text-heading-4-lh);
  }
  p {
    font-size: var(--text-tagline-1);
    line-height: var(--text-tagline-1-lh);
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--text-heading-2);
    line-height: var(--text-heading-2-lh);
  }
  h2 {
    font-size: var(--text-heading-3);
    line-height: var(--text-heading-3-lh);
  }
  h3 {
    font-size: var(--text-heading-4);
    line-height: var(--text-heading-4-lh);
  }
}

@media (min-width: 1280px) {
  h1 {
    font-size: var(--text-heading-1);
    line-height: var(--text-heading-1-lh);
  }
  h2 {
    font-size: var(--text-heading-2);
    line-height: var(--text-heading-2-lh);
  }
  h3 {
    font-size: var(--text-heading-3);
    line-height: var(--text-heading-3-lh);
  }
}

/* =============== LAYOUT =============== */
.main-container {
  max-width: 1290px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1440px) {
  .main-container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* =============== UTILITIES =============== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

.cursor-pointer { cursor: pointer; }

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* =============== BACKGROUNDS =============== */
.bg-background-1 { background-color: var(--color-background-1); }
.bg-background-2 { background-color: var(--color-background-2); }
.bg-background-3 { background-color: var(--color-background-3); }
.bg-background-4 { background-color: var(--color-background-4); }
.bg-background-5 { background-color: var(--color-background-5); }
.bg-background-6 { background-color: var(--color-background-6); }
.bg-background-7 { background-color: var(--color-background-7); }
.bg-background-8 { background-color: var(--color-background-8); }
.bg-background-9 { background-color: var(--color-background-9); }

.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }
.bg-white { background-color: #ffffff; }

.bg-ns-yellow { background-color: var(--color-ns-yellow); }
.bg-ns-green { background-color: var(--color-ns-green); }
.bg-ns-cyan { background-color: var(--color-ns-cyan); }
.bg-ns-green-light { background-color: var(--color-ns-green-light); }
.bg-ns-cyan-light { background-color: var(--color-ns-cyan-light); }
.bg-ns-yellow-light { background-color: var(--color-ns-yellow-light); }

.bg-primary-100 { background-color: var(--color-primary-100); }
.bg-primary-500 { background-color: var(--color-primary-500); }

.dark .dark\:bg-background-5 { background-color: var(--color-background-5); }
.dark .dark\:bg-background-6 { background-color: var(--color-background-6); }
.dark .dark\:bg-background-7 { background-color: var(--color-background-7); }
.dark .dark\:bg-background-8 { background-color: var(--color-background-8); }
.dark .dark\:bg-background-9 { background-color: var(--color-background-9); }

/* =============== TEXT COLORS =============== */
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-white { color: #ffffff; }
.text-primary-500 { color: var(--color-primary-500); }
.text-primary-400 { color: var(--color-primary-400); }

.dark .dark\:text-accent { color: var(--color-accent); }
.dark .dark\:text-secondary { color: var(--color-secondary); }

/* =============== BADGES =============== */
.badge {
  display: inline-block;
  white-space: nowrap;
  font-size: var(--text-tagline-2);
  font-weight: 400;
  color: var(--color-secondary);
  backdrop-filter: blur(17px);
  border-radius: 0.375rem;
  padding: 0.375rem 1.25rem;
  text-transform: lowercase;
}

.badge::first-letter {
  text-transform: uppercase;
}

.badge-green {
  background-color: var(--color-ns-green-light);
}

.dark .badge-green {
  background-color: rgba(126, 184, 184, 0.2);
  color: var(--color-ns-green);
  border: 1px solid rgba(126, 184, 184, 0.3);
}

.badge-blur-v2 {
  background-color: rgba(245, 247, 250, 0.2);
  color: var(--color-primary-50);
}

.dark .badge-blur-v2 {
  background: linear-gradient(135deg, rgba(126, 184, 184, 0.25) 0%, rgba(126, 184, 184, 0.15) 100%);
  border: 1px solid rgba(126, 184, 184, 0.4);
  color: var(--color-ns-green);
}

/* =============== BUTTONS =============== */
.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid;
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 500ms ease-in-out;
  font-weight: 400;
  white-space: nowrap;
  text-transform: lowercase;
}

.btn::first-letter {
  text-transform: uppercase;
}

.btn span {
  display: inline-block;
  transition: transform 300ms ease-in-out;
}

.btn span::first-letter {
  text-transform: uppercase;
}

.btn::before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  transition: all 300ms ease-in-out;
  opacity: 0;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:hover::before {
  width: 12px;
  height: 12px;
  opacity: 1;
  transform: translateY(-50%) translateX(-16px);
}

.btn:hover span {
  transform: translateX(-8px);
}

/* Button Variants */
.btn-primary {
  background-color: var(--color-primary-500);
  box-shadow: var(--shadow-1);
  border-color: var(--color-primary-600);
  color: #ffffff;
}

.dark .btn-primary {
  border-color: var(--color-primary-400);
}

.btn-primary::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='white' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

.btn-secondary {
  box-shadow: var(--shadow-1);
  background-color: var(--color-secondary);
  border-color: #000000;
  color: #ffffff;
}

.btn-white {
  background-color: var(--color-background-1);
  border-color: var(--color-stroke-3);
  box-shadow: var(--shadow-1);
  color: var(--color-secondary);
}

.btn-white::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%231a1a1c' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

.btn-white-dark {
  background-color: var(--color-background-6);
  border-color: var(--color-stroke-7);
  box-shadow: var(--shadow-1);
  color: var(--color-accent);
}

.dark .btn-accent {
  background-color: var(--color-accent);
  color: var(--color-secondary);
}

/* Button Sizes */
.btn-sm {
  padding: 0.25rem 1rem;
}

.btn-sm::before {
  content: none;
}

.btn-md {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-tagline-2);
  min-width: 90px;
}

.btn-md:hover::before {
  width: 10px;
  height: 10px;
  transform: translateY(-50%) translateX(-14px);
}

.btn-lg {
  padding: 0.625rem 1.5rem;
  font-size: var(--text-tagline-1);
}

.btn-xl {
  padding: 0.875rem 2rem;
  font-size: var(--text-tagline-1);
}

/* =============== HEADER / NAVBAR =============== */
.header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 100%;
  max-width: 350px;
  transition: all 500ms ease;
}

.header.scrolled {
  top: 0.5rem;
}

@media (min-width: 425px) {
  .header { max-width: 375px; }
}
@media (min-width: 500px) {
  .header { max-width: 450px; }
}
@media (min-width: 640px) {
  .header { max-width: 540px; }
}
@media (min-width: 768px) {
  .header { max-width: 720px; }
}
@media (min-width: 1024px) {
  .header { max-width: 960px; }
}
@media (min-width: 1280px) {
  .header { max-width: 1140px; }
}
@media (min-width: 1440px) {
  .header { max-width: 1290px; }
}

.header-inner {
  border: 1px solid var(--color-stroke-2);
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0.625rem 1rem;
  }
}

@media (min-width: 1280px) {
  .header-inner {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
}

.logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.375rem;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .logo {
    gap: 0.5rem;
    padding: 0.5rem;
  }
}

.logo img {
  height: 2.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .logo img {
    height: 3rem;
  }
}

@media (min-width: 1280px) {
  .logo img {
    height: 4rem;
  }
}

.logo-dark {
  display: none;
}

.dark .logo-light {
  display: none;
}

.dark .logo-dark {
  display: block;
}

.logo-text {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.625rem;
  }
}

@media (min-width: 1280px) {
  .logo-text {
    font-size: 35px;
  }
}

.dark .logo-text {
  color: var(--color-accent);
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
}

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

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
  cursor: pointer;
  padding: 0.625rem 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: var(--text-tagline-1);
  font-weight: 400;
  color: rgba(44, 62, 80, 0.6);
  background-color: transparent;
  cursor: pointer;
  transition: all 200ms ease;
}

.nav-link:hover {
  border-color: var(--color-stroke-2);
  color: var(--color-secondary);
}

.dark .nav-link {
  color: rgba(245, 247, 250, 0.6);
}

.dark .nav-link:hover {
  border-color: var(--color-stroke-7);
  color: var(--color-accent);
}

/* Dark mode navbar */
.dark .header-inner {
  border-color: var(--color-stroke-6);
  background-color: var(--color-background-9);
}

.nav-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 300ms ease;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menu - Based on React Original */
.nav-item {
  position: relative;
  cursor: pointer;
  padding: 0.625rem 0;
}

.nav-icon {
  width: 16px;
  height: 16px;
  transition: transform 300ms ease;
}

.nav-item.active .nav-icon {
  transform: rotate(180deg);
}

/* Bridge element - prevents dropdown from closing when moving mouse */
.dropdown-bridge {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 320px;
  height: 12px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}

.dropdown-bridge-wide {
  min-width: 600px;
}

.dropdown-bridge-location {
  min-width: 350px;
}

.nav-item.active .dropdown-bridge {
  opacity: 1;
  pointer-events: auto;
}

/* Dropdown Menu Base */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  margin-top: 8px;
  background-color: #ffffff;
  border: 1px solid var(--color-stroke-1);
  border-radius: 24px;
  padding: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 300ms ease;
  z-index: 50;
  list-style: none;
}

.dropdown-menu-wide {
  width: 600px;
  padding: 1.5rem;
  border-radius: 20px;
}

.dropdown-menu-location {
  width: 350px;
  padding: 1rem;
  border-radius: 20px;
}

.dark .dropdown-menu {
  background-color: var(--color-background-6);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Menu Item */
.dropdown-menu-item {
  list-style: none;
}

/* Dropdown Link with Icon */
.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: all 300ms ease;
  position: relative;
}

.dropdown-link:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

.dropdown-link:hover .dropdown-link-icon {
  background-color: var(--color-primary-500);
}

.dropdown-link:hover .dropdown-link-icon svg {
  stroke: white;
}

.dark .dropdown-link:hover {
  background-color: var(--color-background-7);
}

.dropdown-link-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid var(--color-stroke-1);
  border-radius: 10px;
  box-shadow: var(--shadow-7);
  transition: all 300ms ease;
}

.dark .dropdown-link-icon {
  background-color: var(--color-background-6);
  border-color: var(--color-background-7);
}

.dropdown-link-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-secondary);
  transition: stroke 300ms ease;
}

.dark .dropdown-link-icon svg {
  stroke: var(--color-accent);
}

.dropdown-link-text {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.dropdown-link-title {
  font-size: var(--text-tagline-1);
  font-weight: 400;
  color: var(--color-secondary);
}

.dark .dropdown-link-title {
  color: var(--color-accent);
}

.dropdown-link-desc {
  font-size: var(--text-tagline-2);
  font-weight: 400;
  color: rgba(44, 62, 80, 0.6);
}

.dark .dropdown-link-desc {
  color: rgba(245, 247, 250, 0.6);
}

/* Dropdown Divider */
.dropdown-divider {
  height: 1px;
  background-color: var(--color-stroke-4);
  margin: 0 auto;
  width: calc(100% - 16px);
}

.dark .dropdown-divider {
  background-color: var(--color-background-7);
}

/* Dropdown Grid (for Serviços) */
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dropdown-col-title {
  font-size: var(--text-tagline-2);
  font-weight: 500;
  color: rgba(44, 62, 80, 0.6);
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
}

.dark .dropdown-col-title {
  color: rgba(245, 247, 250, 0.6);
}

/* Simple Link (no icon) */
.dropdown-simple-link {
  display: block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 200ms ease;
}

.dropdown-simple-link:hover {
  background-color: var(--color-background-2);
}

.dark .dropdown-simple-link:hover {
  background-color: var(--color-background-7);
}

.dropdown-simple-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
}

.dark .dropdown-simple-title {
  color: var(--color-accent);
}

.dropdown-simple-desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(44, 62, 80, 0.6);
  margin-top: 2px;
}

.dark .dropdown-simple-desc {
  color: rgba(245, 247, 250, 0.6);
}

/* Dropdown footer link */
.dropdown-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-stroke-1);
}

.dark .dropdown-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dropdown-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-500);
  transition: color 200ms ease;
}

.dropdown-footer-link:hover {
  color: var(--color-primary-600);
}

.dropdown-footer-link svg {
  width: 16px;
  height: 16px;
}

/* Dropdown note */
.dropdown-note {
  margin-top: 1rem;
  padding-top: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-top: 1px solid var(--color-stroke-1);
  font-size: 0.75rem;
  color: rgba(44, 62, 80, 0.6);
}

.dark .dropdown-note {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(245, 247, 250, 0.6);
}

/* Header CTA */
.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1280px) {
  .header-cta {
    display: flex;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background-color 200ms ease;
}

.mobile-menu-btn:hover {
  background-color: rgba(91, 139, 181, 0.08);
}

.dark .mobile-menu-btn:hover {
  background-color: rgba(245, 247, 250, 0.08);
}

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

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 2px;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease, width 300ms ease;
  position: absolute;
}

.mobile-menu-btn span:nth-child(1) {
  transform: translateY(-7px);
}

.mobile-menu-btn span:nth-child(2) {
  width: 16px;
}

.mobile-menu-btn span:nth-child(3) {
  transform: translateY(7px);
}

.dark .mobile-menu-btn span {
  background-color: var(--color-accent);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(0);
}

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

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(0);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 340px;
  height: 100dvh;
  background-color: #ffffff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
}

@media (min-width: 480px) {
  .mobile-menu {
    max-width: 380px;
  }
}

.dark .mobile-menu {
  background-color: #1a2332;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
}

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

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

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

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid rgba(44, 62, 80, 0.06);
  flex-shrink: 0;
}

.dark .mobile-menu-header {
  border-bottom-color: rgba(245, 247, 250, 0.06);
}

.mobile-menu-logo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
}

.dark .mobile-menu-logo {
  color: var(--color-accent);
}

.mobile-menu-logo span {
  color: #5b8bb5;
}

.mobile-menu-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(44, 62, 80, 0.1);
  cursor: pointer;
  color: rgba(44, 62, 80, 0.5);
  border-radius: 0.375rem;
  transition: all 200ms ease;
}

.mobile-menu-close:hover {
  background: rgba(44, 62, 80, 0.05);
  color: var(--color-secondary);
  border-color: rgba(44, 62, 80, 0.2);
}

.dark .mobile-menu-close {
  color: rgba(245, 247, 250, 0.5);
  border-color: rgba(245, 247, 250, 0.1);
  background: transparent;
}

.dark .mobile-menu-close:hover {
  background: rgba(245, 247, 250, 0.06);
  color: var(--color-accent);
}

/* Mobile Nav Scroll Area */
.mobile-nav-list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.75rem 1rem 1rem;
}

/* Nav Groups */
.mobile-nav-group {
  margin-bottom: 0.5rem;
}

.mobile-nav-group:last-child {
  margin-bottom: 0;
}

.mobile-nav-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(44, 62, 80, 0.35);
  margin-bottom: 0.25rem;
  padding: 0.5rem 0.625rem 0.125rem;
}

.dark .mobile-nav-title {
  color: rgba(245, 247, 250, 0.3);
}

/* Nav Links */
.mobile-nav-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
  transition: all 150ms ease;
  position: relative;
}

.mobile-nav-link::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(91, 139, 181, 0.3);
  flex-shrink: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background-color: rgba(91, 139, 181, 0.06);
  color: #5b8bb5;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:active::before {
  background-color: #5b8bb5;
}

.dark .mobile-nav-link {
  color: rgba(245, 247, 250, 0.75);
}

.dark .mobile-nav-link::before {
  background-color: rgba(126, 184, 184, 0.3);
}

.dark .mobile-nav-link:hover,
.dark .mobile-nav-link:active {
  background-color: rgba(126, 184, 184, 0.08);
  color: #7eb8b8;
}

.dark .mobile-nav-link:hover::before,
.dark .mobile-nav-link:active::before {
  background-color: #7eb8b8;
}

/* Collapsible Nav Groups */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(44, 62, 80, 0.08);
  border-radius: 0.5rem;
  background-color: rgba(91, 139, 181, 0.04);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-secondary);
  font-family: inherit;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:active {
  background-color: rgba(91, 139, 181, 0.08);
  border-color: rgba(91, 139, 181, 0.15);
}

.dark .mobile-nav-toggle {
  color: rgba(245, 247, 250, 0.8);
  border-color: rgba(245, 247, 250, 0.08);
  background-color: rgba(126, 184, 184, 0.06);
}

.dark .mobile-nav-toggle:hover,
.dark .mobile-nav-toggle:active {
  background-color: rgba(126, 184, 184, 0.12);
  border-color: rgba(126, 184, 184, 0.2);
}

.mobile-nav-chevron {
  transition: transform 250ms ease;
  opacity: 0.5;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-collapsible {
  display: none;
}

.mobile-nav-collapsible.open {
  display: flex;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding: 0.75rem 1rem 1.25rem;
  border-top: 1px solid rgba(44, 62, 80, 0.06);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dark .mobile-menu-footer {
  border-top-color: rgba(245, 247, 250, 0.06);
}

.mobile-menu-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.25rem;
  font-size: 0.75rem;
  color: rgba(44, 62, 80, 0.5);
}

.dark .mobile-menu-contact {
  color: rgba(245, 247, 250, 0.4);
}

.mobile-menu-contact svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.mobile-menu-footer .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* =============== FOOTER =============== */
.footer {
  background-color: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.dark .footer {
  background-color: var(--color-background-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  justify-content: space-between;
  gap: 4rem 0;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

@media (min-width: 1280px) {
  .footer-content {
    padding-top: 90px;
  }
}

.footer-brand {
  grid-column: span 12;
}

@media (min-width: 1280px) {
  .footer-brand {
    grid-column: span 4;
  }
}

.footer-brand-inner {
  max-width: 306px;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo span {
  font-family: var(--font-inter-tight);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.025em;
}

.footer-logo .highlight {
  color: var(--color-primary-400);
}

.footer-description {
  color: rgba(245, 247, 250, 0.6);
  font-size: var(--text-tagline-1);
  margin-top: 1rem;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  opacity: 0.7;
  transition: opacity 200ms ease;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social img {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-links {
  grid-column: span 12;
}

@media (min-width: 1280px) {
  .footer-links {
    grid-column: span 8;
  }
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.footer-column h4 {
  font-size: var(--text-heading-6);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: var(--text-tagline-1);
  color: var(--color-primary-50);
  font-weight: 400;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 500ms ease;
}

.footer-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-bottom {
  position: relative;
  padding-top: 26px;
  padding-bottom: 100px;
  text-align: center;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-copyright {
  font-size: var(--text-tagline-1);
  color: var(--color-primary-50);
  font-weight: 400;
}

/* =============== THEME TOGGLE =============== */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
}

.theme-toggle button {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background-color: var(--color-background-8);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  box-shadow: var(--shadow-3);
}

.dark .theme-toggle button {
  background-color: #ffffff;
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.dark .theme-toggle svg {
  color: var(--color-secondary);
}

.theme-toggle .sun-icon {
  display: none;
}

.dark .theme-toggle .sun-icon {
  display: block;
}

.dark .theme-toggle .moon-icon {
  display: none;
}

/* =============== HERO SECTION =============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 120px;
  padding-bottom: 100px;
  background-image: url('../images/modern-white-skyscraper-against-blue-sky-with-clouds.jpg');
}

.dark .hero {
  background-image: url('../images/modern-white-skyscraper-against-blue-sky-with-clouds-darktheme.png');
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 200px;
  }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 454px;
  background: linear-gradient(to bottom, transparent 20.1%, var(--color-background-2) 91.31%);
  z-index: 0;
}

.dark .hero::after {
  background: linear-gradient(to bottom, transparent 20.1%, var(--color-background-8) 91.31%);
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-bottom: 2.25rem;
  text-align: center;
}

.hero-content > * + * {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .hero-content > * + * {
    margin-top: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    margin-bottom: 3.5rem;
  }
}

.hero-content .badge {
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  color: var(--color-accent);
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-content h1 {
    font-size: 3.25rem;
  }
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

@media (min-width: 1280px) {
  .hero-content h1 {
    font-size: 5rem;
  }
}

.dark .hero-content h1 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Hero highlight effect */
.hero-highlight {
  position: relative;
  display: inline;
  padding: 0.02em 0.2em;
  background: rgba(91, 139, 181, 0.45);
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-bottom: 3px solid rgba(168, 197, 218, 0.7);
}

.dark .hero-highlight {
  background: rgba(122, 175, 196, 0.35);
  border-bottom-color: rgba(168, 197, 218, 0.5);
}

.hero-content p {
  color: rgba(245, 247, 250, 0.8);
  max-width: 806px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
}

.dark .hero-content p {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .hero-content h1,
  .hero-content p {
    margin-top: 1rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    gap: 1rem;
  }
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 42, 54, 0.4) 0%, rgba(30, 42, 54, 0.6) 100%);
  z-index: 0;
}

.dark .hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Hero Line Break - hide on mobile */
.hero-br {
  display: none;
}

@media (min-width: 768px) {
  .hero-br {
    display: inline;
  }
}

/* Hero Proof Badges */
.hero-proof {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .hero-proof {
    gap: 1rem;
  }
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-tagline-2);
  font-weight: 400;
  color: rgba(245, 247, 250, 0.85);
}

.hero-proof-item svg {
  flex-shrink: 0;
  color: var(--color-ns-green);
}

.dark .hero-proof-item {
  color: rgba(255, 255, 255, 0.85);
}

.hero-proof-divider {
  width: 1px;
  height: 1rem;
  background-color: rgba(245, 247, 250, 0.3);
  display: none;
}

@media (min-width: 640px) {
  .hero-proof-divider {
    display: block;
  }
}

/* Trust Metrics Grid */
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.trust-metric-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0px 1px 2px 0px rgba(44, 62, 80, 0.06);
  transition: box-shadow 0.2s;
}

.trust-metric-card:hover {
  box-shadow: 0px 10px 20px -5px rgba(44, 62, 80, 0.06), 0px 20px 65px -5px rgba(44, 62, 80, 0.06);
}

.dark .trust-metric-card {
  background: var(--color-background-8);
}

.trust-metric-icon {
  color: var(--color-primary-500);
  margin: 0 auto 0.75rem;
}

.dark .trust-metric-icon {
  color: var(--color-primary-400);
}

.trust-metric-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-secondary);
  display: inline;
}

.dark .trust-metric-number {
  color: var(--color-accent);
}

.trust-metric-suffix {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.dark .trust-metric-suffix {
  color: var(--color-accent);
}

.trust-metric-label {
  font-size: 0.875rem;
  color: rgba(44, 62, 80, 0.6);
  margin-top: 0.25rem;
}

.dark .trust-metric-label {
  color: rgba(245, 247, 250, 0.6);
}

/* Hero Marquee */
.hero-marquee {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  overflow: hidden;
  max-width: 100%;
}

@media (max-width: 640px) {
  .hero-marquee {
    bottom: -20px;
  }
}

@media (min-width: 1024px) {
  .hero-marquee {
    bottom: 10px;
    max-width: 740px;
  }
}

.hero-marquee::before,
.hero-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 160px;
  height: 40px;
  z-index: 40;
}

.hero-marquee::before {
  left: -20px;
  background: linear-gradient(to left, transparent, var(--color-background-2));
}

.hero-marquee::after {
  right: 0;
  background: linear-gradient(to right, transparent, var(--color-background-2));
}

.dark .hero-marquee::before {
  background: linear-gradient(to left, transparent, var(--color-background-8));
}

.dark .hero-marquee::after {
  background: linear-gradient(to right, transparent, var(--color-background-8));
}

.marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
}

.marquee-track figure {
  flex-shrink: 0;
  min-width: 144px;
  margin-left: 2rem;
}

.marquee-track img {
  width: auto;
  height: auto;
}

.marquee-track .logo-dark {
  display: none;
}

.dark .marquee-track .logo-light {
  display: none;
}

.dark .marquee-track .logo-dark {
  display: block;
}

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

/* =============== SECTIONS =============== */
.section {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

@media (min-width: 1280px) {
  .section {
    padding-top: 12.5rem;
    padding-bottom: 12.5rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4.5rem;
  }
}

.section-header .badge {
  margin-bottom: 1.25rem;
}

.section-header h2 {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.75rem;
  color: rgba(44, 62, 80, 0.7);
}

.dark .section-header p {
  color: rgba(245, 247, 250, 0.7);
}

/* =============== ACHIEVEMENT SECTION =============== */
.achievement-section {
  background-color: var(--color-background-2);
  padding-top: 4rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .achievement-section {
    padding-top: 5rem;
    padding-bottom: 7rem;
  }
}

@media (min-width: 1024px) {
  .achievement-section {
    padding-top: 90px;
    padding-bottom: 9rem;
  }
}

@media (min-width: 1280px) {
  .achievement-section {
    padding-top: 100px;
    padding-bottom: 200px;
  }
}

.dark .achievement-section {
  background-color: var(--color-background-8);
}

/* Achievements Bar */
.achievements-bar {
  background-color: var(--color-secondary);
  border-radius: 1.25rem;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dark .achievements-bar {
  background-color: var(--color-background-6);
}

@media (min-width: 768px) {
  .achievements-bar {
    flex-direction: row;
  }
}

.achievement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.375rem 2rem;
  flex: 1;
  border-bottom: 1px solid rgba(245, 247, 250, 0.2);
}

.achievement-item:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .achievement-item {
    border-bottom: none;
    border-right: 1px solid rgba(245, 247, 250, 0.2);
  }

  .achievement-item:last-child {
    border-right: none;
  }
}

.achievement-icon {
  width: fit-content;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.achievement-icon svg {
  color: var(--color-secondary);
}

.achievement-icon.bg-ns-yellow {
  background-color: var(--color-ns-yellow);
}

.achievement-icon.bg-ns-cyan {
  background-color: var(--color-ns-cyan);
}

.achievement-icon.bg-ns-green {
  background-color: var(--color-ns-green);
}

.achievement-text {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: white;
  font-size: var(--text-heading-6);
  font-weight: 500;
}

.achievement-number {
  font-size: inherit;
  font-weight: inherit;
}

.achievement-label {
  margin-left: 0.25rem;
}

/* =============== FEATURE CARDS =============== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.feature-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-1);
}

.dark .feature-card {
  background-color: var(--color-background-7);
}

.feature-card-stats {
  background-color: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.dark .feature-card-stats {
  background-color: #000203;
}

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

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

.stat-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 165px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  border-radius: 0.5rem;
  padding: 2rem;
}

.dark .stat-item {
  background-color: rgba(245, 247, 250, 0.05);
}

.stat-item .icon {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-size: 36px;
  color: var(--color-accent);
}

.stat-label {
  font-size: var(--text-tagline-1);
  color: rgba(245, 247, 250, 0.6);
}

.stat-value {
  font-size: var(--text-heading-3);
  color: var(--color-background-4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =============== STEP CARDS =============== */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

@media (min-width: 1280px) {
  .steps-container {
    flex-wrap: nowrap;
  }
}

.step-card {
  width: 100%;
  max-width: 406px;
  padding: 2.625rem;
  border-radius: 20px;
}

.step-card h3 {
  font-size: var(--text-heading-3);
  color: var(--color-secondary);
  margin-bottom: 6rem;
}

.step-card h4 {
  font-size: var(--text-heading-5);
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.step-card p {
  max-width: 222px;
  color: rgba(44, 62, 80, 0.6);
}

.step-card.bg-light {
  background-color: var(--color-background-3);
}

.dark .step-card.bg-light {
  background-color: var(--color-background-9);
}

.step-card.bg-highlight {
  background-color: var(--color-ns-green);
}

/* Steps Section Enhanced - Dark Mode */
.dark .steps-section-enhanced {
  background: linear-gradient(180deg, #1a2634 0%, #15202b 50%, #101820 100%);
}

.dark .steps-section-enhanced .section-header h2 {
  color: #ffffff;
}

.dark .steps-section-enhanced .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.dark .steps-section-enhanced .step-card.bg-light {
  background: linear-gradient(145deg, #243342 0%, #1e2a36 100%);
  border: 1px solid rgba(126, 184, 184, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.dark .steps-section-enhanced .step-card.bg-light h3 {
  color: #7eb8b8;
}

.dark .steps-section-enhanced .step-card.bg-light h4 {
  color: #ffffff;
}

.dark .steps-section-enhanced .step-card.bg-light p {
  color: rgba(255, 255, 255, 0.7);
}

.dark .steps-section-enhanced .step-card.bg-highlight {
  background: linear-gradient(145deg, #5a9e9e 0%, #4a8e8e 50%, #3d7d7d 100%);
  box-shadow: 0 8px 32px rgba(126, 184, 184, 0.3);
}

.dark .steps-section-enhanced .step-card.bg-highlight h3,
.dark .steps-section-enhanced .step-card.bg-highlight h4 {
  color: #ffffff;
}

.dark .steps-section-enhanced .step-card.bg-highlight p {
  color: rgba(255, 255, 255, 0.9);
}

.dark .steps-section-enhanced .step-direction {
  background-color: #1e2a36;
  box-shadow: 0 0 0 8px #15202b;
}

/* Step Direction Arrows */
.step-direction {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  z-index: 10;
  flex-shrink: 0;
  padding: 1.5rem 0.625rem;
  background-color: var(--color-background-3);
  border-radius: 80px;
  box-shadow: 0 0 0 8px white;
  transform: rotate(90deg);
}

.dark .step-direction {
  background-color: var(--color-background-7);
  box-shadow: 0 0 0 8px var(--color-background-8);
}

@media (min-width: 1280px) {
  .step-direction {
    transform: rotate(0deg);
  }
}

/* Marquee container - clips the overflow */
.step-arrow-track {
  width: 24px;
  height: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Inner wrapper that animates */
.step-arrow-inner {
  display: flex;
  flex-direction: row;
  animation: scrollArrowsMarquee 1s linear infinite;
}

@keyframes scrollArrowsMarquee {
  0% { transform: translateX(-24px); }
  100% { transform: translateX(0); }
}

.step-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Dark mode: invert arrow color to white */
.dark .step-arrow img {
  filter: brightness(0) invert(1);
}

/* =============== INDUSTRY CATEGORIES =============== */
.industry-section {
  background-color: var(--color-background-3);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .industry-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media (min-width: 1024px) {
  .industry-section {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

@media (min-width: 1280px) {
  .industry-section {
    padding-top: 200px;
    padding-bottom: 200px;
  }
}

.dark .industry-section {
  background-color: var(--color-background-7);
}

.industry-section .section-header {
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .industry-section .section-header {
    margin-bottom: 72px;
  }
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3.5rem 2rem;
}

.industry-card {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .industry-card {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .industry-card {
    grid-column: span 4;
  }
}

.industry-card-inner {
  position: relative;
}

.industry-card figure {
  overflow: hidden;
  border-radius: 12px;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .industry-card figure {
    max-width: 408px;
  }
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.industry-card:hover img {
  transform: scale(1.08) rotate(3deg);
}

.industry-card-content {
  position: absolute;
  bottom: 0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  background-color: rgba(44, 62, 80, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.dark .industry-card-content {
  background-color: rgba(245, 247, 250, 0.4);
}

.industry-card-content h3 {
  font-size: var(--text-heading-6);
  color: #ffffff;
}

@media (min-width: 768px) {
  .industry-card-content h3 {
    font-size: var(--text-heading-5);
  }
}

.dark .industry-card-content h3 {
  color: var(--color-secondary);
}

.industry-card-content p {
  font-size: var(--text-tagline-2);
  color: rgba(245, 247, 250, 0.8);
  max-width: 295px;
  margin-left: auto;
  margin-right: auto;
}

.dark .industry-card-content p {
  color: rgba(44, 62, 80, 0.8);
}

/* =============== TESTIMONIALS =============== */
.testimonial-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .testimonial-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .testimonial-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (min-width: 1280px) {
  .testimonial-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* Mobile Grid View */
.testimonial-grid-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

@media (min-width: 1024px) {
  .testimonial-grid-mobile {
    display: none;
  }
}

/* Desktop Scattered View */
.testimonial-scattered {
  display: none;
  position: relative;
  height: 462px;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .testimonial-scattered {
    display: block;
  }
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--color-stroke-1);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 6px 8px 0 rgba(4, 10, 51, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dark .testimonial-card {
  background-color: var(--color-background-7);
  border-color: var(--color-stroke-6);
}

/* Scattered card positioning */
.testimonial-scattered .testimonial-card {
  position: absolute;
  width: 362px;
  transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.testimonial-scattered .testimonial-card:hover {
  z-index: 8 !important;
  transform: scale(1.05) rotate(0deg) !important;
}

.testimonial-scattered .testimonial-card:nth-child(1) {
  top: 27px;
  left: 0;
  transform: rotate(-14deg);
}

.testimonial-scattered .testimonial-card:nth-child(2) {
  top: 0;
  left: 320px;
  transform: rotate(5deg);
}

.testimonial-scattered .testimonial-card:nth-child(3) {
  top: 0;
  right: 275px;
  transform: rotate(-5deg);
}

.testimonial-scattered .testimonial-card:nth-child(4) {
  top: 50px;
  right: 0;
  transform: rotate(7deg);
}

.testimonial-scattered .testimonial-card:nth-child(5) {
  bottom: 27px;
  right: 195px;
  transform: rotate(-7deg);
}

.testimonial-scattered .testimonial-card:nth-child(6) {
  bottom: 30px;
  left: 320px;
  transform: rotate(3deg);
}

/* Stars */
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: #FBBF24;
  color: #FBBF24;
}

.testimonial-text {
  font-size: var(--text-tagline-1);
  color: var(--color-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.dark .testimonial-text {
  color: var(--color-accent);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: var(--text-tagline-1);
  font-weight: 600;
  color: var(--color-secondary);
}

.dark .testimonial-author-info h4 {
  color: var(--color-accent);
}

.testimonial-author-info p {
  font-size: var(--text-tagline-2);
  color: rgba(44, 62, 80, 0.6);
}

.dark .testimonial-author-info p {
  color: rgba(245, 247, 250, 0.6);
}

/* =============== FAQ / ACCORDION =============== */
.faq-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .faq-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .faq-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (min-width: 1280px) {
  .faq-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.faq-section .section-header {
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .faq-section .section-header {
    margin-bottom: 70px;
  }
}

.accordion {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .accordion-item {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.dark .accordion-item {
  background-color: var(--color-background-7);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
}

@media (min-width: 640px) {
  .accordion-trigger {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.accordion-trigger h3 {
  flex: 1;
  font-size: var(--text-tagline-1);
  font-weight: 400;
  color: var(--color-secondary);
}

@media (min-width: 640px) {
  .accordion-trigger h3 {
    font-size: var(--text-heading-6);
  }
}

.dark .accordion-trigger h3 {
  color: var(--color-accent);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease;
}

.accordion-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
}

.dark .accordion-icon svg {
  color: var(--color-accent);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .accordion-item.active .accordion-content {
    padding-bottom: 2rem;
  }
}

.accordion-content p {
  font-size: var(--text-tagline-1);
  color: rgba(44, 62, 80, 0.7);
  line-height: 1.6;
}

.dark .accordion-content p {
  color: rgba(245, 247, 250, 0.7);
}

/* =============== LEGAL CONTENT =============== */
.legal-content {
  line-height: 1.8;
}

.legal-content h2 {
  font-size: var(--text-heading-5);
  font-weight: 500;
  color: var(--color-secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.dark .legal-content h2 {
  color: var(--color-accent);
}

.legal-content p {
  color: rgba(44, 62, 80, 0.8);
  margin-bottom: 1rem;
}

.dark .legal-content p {
  color: rgba(245, 247, 250, 0.8);
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  color: rgba(44, 62, 80, 0.8);
  margin-bottom: 0.5rem;
  position: relative;
}

.dark .legal-content li {
  color: rgba(245, 247, 250, 0.8);
}

.legal-content li::marker {
  color: var(--color-primary);
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: opacity 200ms ease;
}

.legal-content a:hover {
  opacity: 0.8;
}

/* =============== CTA SECTION =============== */
.cta-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: var(--color-background-1);
}

@media (min-width: 768px) {
  .cta-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .cta-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

@media (min-width: 1280px) {
  .cta-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.dark .cta-section {
  background-color: var(--color-background-8);
}

.cta-content {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cta-content > * + * {
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .cta-content {
    margin-bottom: 3.5rem;
  }
}

.cta-content h2 {
  font-weight: 400;
  color: var(--color-secondary);
}

.dark .cta-content h2 {
  color: var(--color-accent);
}

.cta-content p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.75rem;
  color: rgba(44, 62, 80, 0.7);
}

.dark .cta-content p {
  color: rgba(245, 247, 250, 0.7);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-buttons .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .cta-buttons .btn {
    width: auto;
  }
}

/* =============== PARTNERS / INTEGRATION =============== */
.partners-section {
  background-color: var(--color-background-1);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .partners-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media (min-width: 1024px) {
  .partners-section {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

@media (min-width: 1280px) {
  .partners-section {
    padding-top: 200px;
    padding-bottom: 200px;
  }
}

.dark .partners-section {
  background-color: var(--color-background-5);
}

.partners-section .section-header {
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .partners-section .section-header {
    margin-bottom: 70px;
  }
}

.partners-marquee {
  position: relative;
  max-width: 1128px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 100px;
  z-index: 40;
}

@media (min-width: 768px) {
  .partners-marquee::before,
  .partners-marquee::after {
    width: 315px;
  }
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-background-1), transparent);
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-background-1), transparent);
}

.dark .partners-marquee::before {
  background: linear-gradient(to right, var(--color-background-5), transparent);
}

.dark .partners-marquee::after {
  background: linear-gradient(to left, var(--color-background-5), transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 34px;
  animation: marquee 30s linear infinite;
}

.partner-logo {
  width: 64px;
  height: 64px;
  background-color: #ffffff;
  border: 10px solid var(--color-background-1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .partner-logo {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .partner-logo {
    width: 120px;
    height: 120px;
  }
}

.dark .partner-logo {
  background-color: var(--color-background-8);
  border-color: var(--color-background-6);
}

.partner-logo img {
  width: 48px;
  height: 48px;
}

/* =============== PAGE HERO =============== */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 3.5rem;
  background-color: var(--color-background-2);
  text-align: center;
}

.dark .page-hero {
  background-color: var(--color-background-5);
}

@media (min-width: 640px) {
  .page-hero {
    padding-top: 9rem;
  }
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 168px;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .page-hero {
    padding-bottom: 88px;
  }
}

@media (min-width: 1280px) {
  .page-hero {
    padding-top: 180px;
    padding-bottom: 100px;
  }
}

.page-hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.dark .page-hero h1 {
  color: var(--color-accent);
}

.page-hero p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  color: rgba(44, 62, 80, 0.7);
}

.dark .page-hero p {
  color: rgba(245, 247, 250, 0.7);
}

/* =============== CONTACT FORM =============== */
.contact-form {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: var(--text-tagline-2);
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.dark .form-label {
  color: var(--color-accent);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1.125rem;
  border: 1px solid var(--color-stroke-3);
  border-radius: 0.5rem;
  background-color: var(--color-background-1);
  font-size: var(--text-tagline-1);
  color: var(--color-secondary);
  transition: border-color 200ms ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary-500);
}

.dark .form-input,
.dark .form-textarea {
  background-color: var(--color-background-6);
  border-color: var(--color-stroke-7);
  color: var(--color-accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(44, 62, 80, 0.5);
}

.dark .form-input::placeholder,
.dark .form-textarea::placeholder {
  color: rgba(245, 247, 250, 0.5);
}

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

/* =============== BLOG CARDS =============== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.blog-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

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

.dark .blog-card {
  background-color: var(--color-background-7);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  font-size: var(--text-tagline-2);
  color: rgba(44, 62, 80, 0.5);
  margin-bottom: 0.75rem;
}

.dark .blog-card-meta {
  color: rgba(245, 247, 250, 0.5);
}

.blog-card h3 {
  font-size: var(--text-heading-6);
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: var(--text-tagline-2);
  color: rgba(44, 62, 80, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .blog-card h3 {
  color: var(--color-accent);
}

.dark .blog-card p {
  color: rgba(245, 247, 250, 0.7);
}

/* =============== SCROLLBAR =============== */
.scroll-bar::-webkit-scrollbar {
  display: none;
}

.scroll-bar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* =============== ANIMATIONS =============== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 600ms ease forwards;
}

[data-animate] {
  opacity: 0;
}

[data-animate].animated {
  animation: fadeIn 600ms ease forwards;
}

/* =============== NUMBER ANIMATION =============== */
.number-counter {
  display: inline-flex;
  overflow: hidden;
}

.number-digit {
  display: flex;
  flex-direction: column;
  animation: countUp 1.5s ease forwards;
}

@keyframes countUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* =============== FEATURE HIGHLIGHTS =============== */
.feature-highlights-layout {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3.5rem;
}

.feature-highlights-content {
  flex: 1;
  text-align: center;
}

.feature-highlights-header {
  margin-bottom: 3.5rem;
}

.feature-highlights-header .badge {
  margin-bottom: 1.25rem;
}

.feature-highlights-header h2 {
  max-width: 535px;
  margin: 0 auto 0.75rem;
}

.feature-highlights-header p {
  max-width: 508px;
  margin: 0 auto;
}

.feature-highlights-image {
  flex: 1;
}

.feature-highlights-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 0.75rem;
}

/* =============== FEATURE LIST =============== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-tagline-1);
  font-weight: 500;
  color: var(--color-secondary);
  padding: 0.5rem 0.75rem;
}

.dark .feature-list-item {
  color: var(--color-accent);
}

.feature-check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-ns-green);
}

.dark .feature-check-icon {
  color: var(--color-ns-green);
}

/* =============== RESPONSIVE UTILITIES =============== */
/* Responsive grid/flex utilities */
@media (min-width: 1024px) {
  .lg-flex-row {
    flex-direction: row !important;
  }
  .lg-grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 639px) {
  .sm\:hidden { display: none; }
}

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
}

@media (max-width: 767px) {
  .md\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
}

@media (max-width: 1023px) {
  .lg\:hidden { display: none; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
}

@media (max-width: 1279px) {
  .xl\:hidden { display: none; }
}

@media (min-width: 1280px) {
  .xl\:block { display: block; }
  .xl\:flex { display: flex; }
}

/* =============== MAP =============== */
.map-container {
  height: 300px;
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .map-container {
    height: 438px;
  }
}

/* =============== AVATAR STACK =============== */
.avatar-stack {
  display: flex;
  cursor: pointer;
}

.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-background-4);
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.dark .avatar-stack img {
  border-color: var(--color-background-9);
}

.avatar-more {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-ns-cyan);
  border: 2px solid var(--color-background-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-tagline-2);
  font-weight: 500;
  color: rgba(44, 62, 80, 0.8);
  margin-left: -10px;
}

.dark .avatar-more {
  border-color: var(--color-background-9);
  color: var(--color-accent);
}

/* =============== SERVICE PAGE COMPONENTS =============== */

/* Steps Cards - Cobrança Extrajudicial */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.step-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  transition: transform 400ms ease, box-shadow 400ms ease;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  border: 1px solid rgba(44, 62, 80, 0.06);
}

.dark .step-card {
  background-color: var(--color-background-6);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Vantagem Card - destaque especial */
.step-card-highlight {
  background: linear-gradient(135deg, var(--color-ns-green-light) 0%, #ffffff 100%);
  border-color: rgba(126, 184, 184, 0.3);
}

.dark .step-card-highlight {
  background: linear-gradient(135deg, rgba(126, 184, 184, 0.2) 0%, var(--color-background-6) 100%);
  border-color: rgba(126, 184, 184, 0.3);
}

.step-card-highlight .step-number {
  opacity: 1 !important;
  color: var(--color-ns-green);
}

.step-card-highlight .step-icon {
  color: var(--color-ns-green);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.dark .step-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.dark .step-card h3 {
  color: var(--color-accent);
}

.dark .step-card p {
  color: rgba(245, 247, 250, 0.7);
}

.step-card-header {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 1rem;
}

.step-number {
  font-size: var(--text-tagline-2);
  color: var(--color-secondary);
  opacity: 0.6;
}

.dark .step-number {
  color: var(--color-accent);
}

.step-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.dark .step-icon {
  color: var(--color-accent);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-card h3 {
  font-size: var(--text-heading-5);
  margin-bottom: 0.75rem;
}

.step-card p {
  max-width: 345px;
}

/* Timeline - Cobrança Judicial */
.timeline-section {
  padding: 4rem 0;
}

.timeline-list {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.timeline-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-background-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dark .timeline-number {
  background-color: var(--color-background-7);
}

.timeline-number span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--color-secondary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.dark .timeline-number span {
  background-color: var(--color-background-5);
  color: var(--color-accent);
}

.timeline-item p {
  color: rgba(44, 62, 80, 0.8);
}

.dark .timeline-item p {
  color: rgba(245, 247, 250, 0.8);
}

.timeline-divider {
  height: 1px;
  background-color: var(--color-stroke-1);
}

.dark .timeline-divider {
  background-color: var(--color-background-7);
}

/* Stats Bar - Métricas */
.stats-bar {
  display: flex;
  flex-direction: column;
  background-color: var(--color-secondary);
  border-radius: 20px;
  padding: 1.5rem;
}

.dark .stats-bar {
  background-color: var(--color-background-6);
}

@media (min-width: 768px) {
  .stats-bar {
    flex-direction: row;
  }
}

.stat-item {
  flex: 1;
  padding: 1.5rem 0;
  text-align: center;
}

.stat-icon {
  width: 64px;
  height: 40px;
  background-color: var(--color-ns-green);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

@media (min-width: 1280px) {
  .stat-icon {
    width: 80px;
    height: 52px;
  }
}

.stat-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
}

.stat-value {
  font-size: var(--text-heading-6);
  font-weight: 400;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

/* Diferenciais Cards - Judicial */
.diff-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.diff-card {
  position: relative;
  border-radius: 20px;
  padding: 0.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-100) 0%, var(--color-ns-green-light) 100%);
}

.dark .diff-card {
  background: linear-gradient(135deg, rgba(91, 139, 181, 0.3) 0%, rgba(126, 184, 184, 0.2) 100%);
}

.diff-card-inner {
  background-color: var(--color-background-1);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.dark .diff-card-inner {
  background-color: var(--color-background-6);
}

.diff-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.dark .diff-card-icon {
  color: var(--color-accent);
}

.diff-card-icon svg {
  width: 100%;
  height: 100%;
}

.diff-card h4 {
  font-size: var(--text-heading-5);
  margin-bottom: 0.25rem;
}

.dark .diff-card h4 {
  color: var(--color-accent);
}

.dark .diff-card p {
  color: rgba(245, 247, 250, 0.7);
}

/* Overview Sidebar - Gestão Inadimplência */
.service-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .service-layout {
    grid-template-columns: 1fr 400px;
  }
}

.overview-sidebar {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.08);
  border: 1px solid rgba(44, 62, 80, 0.06);
}

.dark .overview-sidebar {
  background-color: var(--color-background-5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.06);
}

.overview-sidebar::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-ns-green-light) 0%, transparent 70%);
  pointer-events: none;
}

.dark .overview-sidebar::before {
  background: radial-gradient(circle, rgba(126, 184, 184, 0.1) 0%, transparent 70%);
}

.overview-title {
  margin-bottom: 2rem;
  color: var(--color-secondary);
}

.dark .overview-title {
  color: var(--color-accent);
}

.overview-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-stroke-4);
}

.dark .overview-item {
  border-color: var(--color-stroke-7);
}

.overview-item:last-child {
  border-bottom: none;
}

.overview-label {
  font-size: 1.25rem;
  line-height: 150%;
  color: var(--color-secondary);
  font-weight: 500;
}

.dark .overview-label {
  color: var(--color-accent);
}

.overview-value {
  font-size: 1.125rem;
  line-height: 150%;
  color: rgba(44, 62, 80, 0.7);
}

.dark .overview-value {
  color: rgba(245, 247, 250, 0.7);
}

/* Skills/Tags */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.service-tag {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 9999px;
  border: 1px solid var(--color-stroke-4);
  background-color: var(--color-background-1);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-secondary);
  transition: all 400ms ease;
}

.dark .service-tag {
  background-color: var(--color-background-6);
  border-color: var(--color-stroke-7);
  color: var(--color-accent);
}

.service-tag:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.dark .service-tag:hover {
  background-color: var(--color-accent);
  color: var(--color-secondary);
}

/* Feature Grid - Gestão */
.feature-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

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

.feature-grid-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 300ms ease;
}

.dark .feature-grid-card {
  background-color: var(--color-background-6);
}

.feature-grid-card:hover {
  transform: translateY(-2px);
}

.feature-grid-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-ns-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dark .feature-grid-icon {
  background-color: rgba(126, 184, 184, 0.2);
}

.feature-grid-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-ns-green);
}

.feature-grid-content h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.dark .feature-grid-content h4 {
  color: var(--color-accent);
}

.feature-grid-content p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.dark .feature-grid-content p {
  color: rgba(245, 247, 250, 0.7);
}

/* Hero Variations */
.page-hero-centered {
  text-align: center;
  padding-top: 10rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .page-hero-centered {
    padding-top: 12rem;
    padding-bottom: 5rem;
  }
}

.page-hero-centered h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-centered p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(44, 62, 80, 0.7);
}

.dark .page-hero-centered {
  background-color: var(--color-background-8);
}

.dark .page-hero-centered h1 {
  color: var(--color-accent);
}

.dark .page-hero-centered p {
  color: rgba(245, 247, 250, 0.7);
}

/* Process Flow */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 768px) {
  .process-flow {
    flex-direction: row;
  }
}

.process-step {
  flex: 1;
  position: relative;
  padding: 2rem 1.5rem;
  background-color: var(--color-background-1);
  text-align: center;
}

.dark .process-step {
  background-color: var(--color-background-6);
}

.process-step:first-child {
  border-radius: 16px 16px 0 0;
}

.process-step:last-child {
  border-radius: 0 0 16px 16px;
}

@media (min-width: 768px) {
  .process-step:first-child {
    border-radius: 16px 0 0 16px;
  }

  .process-step:last-child {
    border-radius: 0 16px 16px 0;
  }
}

.process-step::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--color-background-1);
}

.dark .process-step::after {
  border-top-color: var(--color-background-6);
}

.process-step:last-child::after {
  display: none;
}

@media (min-width: 768px) {
  .process-step::after {
    bottom: auto;
    left: auto;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid var(--color-background-1);
    border-right: none;
  }

  .dark .process-step::after {
    border-left-color: var(--color-background-6);
    border-top-color: transparent;
  }
}

.process-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary-500);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.dark .process-step h4 {
  color: var(--color-accent);
}

.process-step p {
  font-size: 0.875rem;
  opacity: 0.7;
}

.dark .process-step p {
  color: rgba(245, 247, 250, 0.7);
}

/* =============== BENEFIT ITEMS =============== */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--color-background-2);
  border-radius: 12px;
  border: 1px solid rgba(44, 62, 80, 0.06);
}

.dark .benefit-item {
  background-color: var(--color-background-7);
  border-color: rgba(255, 255, 255, 0.06);
}

.benefit-item-icon {
  color: var(--color-ns-green);
  font-size: 1.5rem;
  line-height: 1;
}

.benefit-item-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-secondary);
}

.dark .benefit-item-title {
  color: var(--color-accent);
}

.benefit-item-desc {
  font-size: 0.875rem;
  color: rgba(44, 62, 80, 0.7);
}

.dark .benefit-item-desc {
  color: rgba(245, 247, 250, 0.7);
}

/* =============== INFO BOX (O que você recebe) =============== */
.info-box {
  background-color: var(--color-ns-cyan-light);
  border-radius: 16px;
  padding: 2rem;
}

.dark .info-box {
  background-color: rgba(122, 175, 196, 0.15);
  border: 1px solid rgba(122, 175, 196, 0.2);
}

.info-box h4 {
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.dark .info-box h4 {
  color: var(--color-accent);
}

.info-box-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-box-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-box-item-icon {
  color: var(--color-primary-500);
  font-size: 1.25rem;
  line-height: 1;
}

.info-box-item span {
  color: rgba(44, 62, 80, 0.85);
}

.dark .info-box-item span {
  color: rgba(245, 247, 250, 0.85);
}

/* =============== CASE STUDY PAGE =============== */
.case-study-hero {
  padding-top: 8rem;
  padding-bottom: 1.25rem;
  background-color: var(--color-background-3);
}

.dark .case-study-hero {
  background-color: var(--color-background-7);
}

@media (min-width: 640px) {
  .case-study-hero {
    padding-top: 9rem;
  }
}

@media (min-width: 768px) {
  .case-study-hero {
    padding-top: 168px;
  }
}

@media (min-width: 1024px) {
  .case-study-hero {
    padding-bottom: 100px;
  }
}

@media (min-width: 1280px) {
  .case-study-hero {
    padding-top: 180px;
  }
}

.case-study-content {
  display: flex;
  flex-direction: column;
  gap: 4.375rem;
}

.case-study-heading {
  max-width: 900px;
}

.case-study-heading h1 {
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.dark .case-study-heading h1 {
  color: var(--color-accent);
}

.case-study-heading p {
  font-size: var(--text-tagline-1);
  color: rgba(44, 62, 80, 0.7);
}

.dark .case-study-heading p {
  color: rgba(245, 247, 250, 0.7);
}

.case-study-info h2 {
  margin-bottom: 1rem;
}

.dark .case-study-info h2 {
  color: var(--color-accent);
}

.case-study-info-list {
  max-width: 435px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-study-info-item {
  font-size: 1.125rem;
  line-height: 150%;
  font-weight: 500;
  color: var(--color-secondary);
}

.dark .case-study-info-item {
  color: var(--color-accent);
}

.case-study-info-item span {
  font-weight: 400;
  color: rgba(44, 62, 80, 0.6);
}

.dark .case-study-info-item span {
  color: rgba(245, 247, 250, 0.6);
}

.case-study-image {
  max-width: 1288px;
  overflow: hidden;
  border-radius: 2rem;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-challenge h3 {
  margin-bottom: 0.25rem;
}

.dark .case-study-challenge h3 {
  color: var(--color-accent);
}

.case-study-challenge p {
  max-width: 705px;
  color: rgba(44, 62, 80, 0.7);
}

.dark .case-study-challenge p {
  color: rgba(245, 247, 250, 0.7);
}

.case-study-solution-results {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}

@media (min-width: 768px) {
  .case-study-solution-results {
    flex-direction: row;
  }
}

.case-study-solution h4,
.case-study-results h4 {
  margin-bottom: 0.25rem;
}

.dark .case-study-solution h4,
.dark .case-study-results h4 {
  color: var(--color-accent);
}

.case-study-solution p,
.case-study-results p {
  margin-bottom: 1.5rem;
  color: rgba(44, 62, 80, 0.7);
}

.dark .case-study-solution p,
.dark .case-study-results p {
  color: rgba(245, 247, 250, 0.7);
}

.case-study-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-study-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(44, 62, 80, 0.8);
}

.dark .case-study-list-item {
  color: rgba(245, 247, 250, 0.8);
}

.case-study-list-item::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-secondary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.dark .case-study-list-item::before {
  background-color: var(--color-accent);
}

/* More Cases Section */
.more-cases-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--color-background-3);
}

.dark .more-cases-section {
  background-color: var(--color-background-7);
}

@media (min-width: 1024px) {
  .more-cases-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.more-cases-header {
  text-align: center;
  margin-bottom: 4rem;
}

.more-cases-header h2 {
  margin-bottom: 0.75rem;
}

.dark .more-cases-header h2 {
  color: var(--color-accent);
}

.more-cases-header p {
  max-width: 738px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(44, 62, 80, 0.7);
}

.dark .more-cases-header p {
  color: rgba(245, 247, 250, 0.7);
}

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

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

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

.case-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 500ms ease;
}

.dark .case-card {
  background-color: var(--color-background-6);
}

.case-card:hover {
  transform: scale(1.02);
}

.case-card-image {
  height: 16rem;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-stat {
  height: 11rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card-stat.green {
  background-color: rgba(126, 184, 184, 0.2);
}

.case-card-stat.blue {
  background-color: rgba(91, 139, 181, 0.2);
}

.case-card-stat span {
  font-size: 3rem;
  font-weight: 700;
}

.case-card-stat.green span {
  color: var(--color-ns-green);
}

.case-card-stat.blue span {
  color: var(--color-primary-500);
}

.case-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-card-text h3 {
  font-size: var(--text-heading-5);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .case-card-text h3 {
  color: var(--color-accent);
}

.case-card-text p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(44, 62, 80, 0.7);
}

.dark .case-card-text p {
  color: rgba(245, 247, 250, 0.7);
}

.case-card-results {
  font-size: var(--text-tagline-1);
  color: rgba(44, 62, 80, 0.6);
}

.dark .case-card-results {
  color: rgba(245, 247, 250, 0.6);
}

.case-card-results strong {
  font-weight: 500;
  color: var(--color-secondary);
}

.dark .case-card-results strong {
  color: var(--color-accent);
}

/* Feature Banner Section */
.feature-banner-section {
  padding-top: 5rem;
  padding-bottom: 6rem;
  background-color: var(--color-background-3);
}

.dark .feature-banner-section {
  background-color: var(--color-background-7);
}

@media (min-width: 768px) {
  .feature-banner-section {
    padding-bottom: 7rem;
  }
}

@media (min-width: 1024px) {
  .feature-banner-section {
    padding-top: 6.25rem;
    padding-bottom: 8rem;
  }
}

@media (min-width: 1280px) {
  .feature-banner-section {
    padding-bottom: 12.5rem;
  }
}

.feature-banner {
  position: relative;
  z-index: 10;
  border-radius: 20px;
  overflow: hidden;
}

.feature-banner-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.feature-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-banner-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.5rem 1.5rem;
}

@media (min-width: 640px) {
  .feature-banner-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

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

.feature-banner-left {
  max-width: 500px;
}

.feature-banner-left h2 {
  font-size: var(--text-heading-5);
  color: var(--color-accent);
  margin-bottom: 2rem;
  font-weight: 400;
}

.feature-banner-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-banner-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-banner-item .check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: rgba(245, 247, 250, 0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dark .feature-banner-item .check-icon {
  background-color: rgba(245, 247, 250, 0.1);
}

.feature-banner-item .check-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--color-accent);
}

.feature-banner-item span {
  color: var(--color-accent);
}

.dark .feature-banner-item span {
  color: rgba(245, 247, 250, 0.6);
}

/* =============== SUBPAGE REFACTOR UTILITIES =============== */

/* --- Page Hero --- */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
}

.page-hero-centered {
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-hero-centered h1 {
  margin-bottom: 1rem;
}

.page-hero-centered p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
}

/* --- Subpage Section Header --- */
.subpage-section-header {
  margin-bottom: 2.5rem;
}

.subpage-section-header h2 {
  margin-bottom: 0.75rem;
}

/* --- Content Layout --- */
.content-narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.content-medium {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.content-legal {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Content Grid --- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.content-grid-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .content-grid-compact {
    grid-template-columns: 1fr 1fr;
  }
}

.content-grid-stretch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

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

/* --- LG Grid 2 Column --- */
.lg-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .lg-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Card Feature --- */
.card-feature {
  border-radius: 1rem;
  padding: 1.5rem;
}

/* --- Icon Circle --- */
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.icon-circle svg {
  width: 20px;
  height: 20px;
}

.icon-circle-lg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.icon-circle-lg svg {
  width: 24px;
  height: 24px;
}

.icon-circle-xl {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

.icon-circle-xl svg {
  width: 28px;
  height: 28px;
}

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.checklist-item:last-child {
  margin-bottom: 0;
}

.check-icon {
  color: var(--color-ns-green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- WhatsApp CTA --- */
.whatsapp-cta {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  color: white;
}

.whatsapp-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #128C7E;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.whatsapp-cta-link:hover {
  opacity: 0.9;
}

/* --- Image Frame --- */
.img-frame {
  border-radius: 1rem;
  overflow: hidden;
}

.img-frame-sm {
  border-radius: 0.75rem;
  overflow: hidden;
}

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

/* --- Info Box --- */
.info-box {
  border-radius: 1rem;
  padding: 1.5rem;
}

.info-box-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-box-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-box-item-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-ns-green);
}

/* --- Benefit List Stack --- */
.benefit-list-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- Benefit Item --- */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
}

.benefit-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-item-icon svg {
  width: 20px;
  height: 20px;
}

.benefit-item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-item-desc {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* --- Contact Form (subpage style) --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- Form Components --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  background: transparent;
  color: inherit;
  transition: border-color 0.2s;
}

.dark .form-input,
.dark .form-textarea {
  border-color: rgba(255, 255, 255, 0.15);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary-500);
}

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

/* --- Btn Full Width --- */
.btn-full {
  width: 100%;
}

/* --- Text Center --- */
.text-center {
  text-align: center;
}

/* --- Spacing Utilities --- */
.mb-075 { margin-bottom: 0.75rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-1-5 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-8 { margin-bottom: 8rem; }
.mt-1 { margin-top: 1rem; }

/* =============== STEP 8: HIGH COMPLEXITY PAGE UTILITIES =============== */

/* --- Hero Section Padding Variants --- */
.page-hero-pb-5 { padding-bottom: 5rem; }
.page-hero-pb-3 { padding-bottom: 3rem; }
.page-hero-pt-8-pb-3-5 { padding-top: 8rem; padding-bottom: 3.5rem; }

/* --- Section Header Variants --- */
.section-header-compact {
  text-align: center;
  margin-bottom: 3rem;
}

/* --- Content Max Width + Centered --- */
.content-536 { max-width: 536px; }
.content-540 { max-width: 540px; }
.content-480 { max-width: 480px; }
.content-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.content-640 { max-width: 640px; margin-left: auto; margin-right: auto; }
.content-680 { max-width: 680px; margin-left: auto; margin-right: auto; }
.content-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.content-744 { max-width: 744px; margin-left: auto; margin-right: auto; }
.content-780 { max-width: 780px; margin-left: auto; margin-right: auto; }
.content-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.content-900 { max-width: 900px; margin-left: auto; margin-right: auto; }
.content-1200 { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* --- Spacing Utilities (Step 8) --- */
.mb-0-25 { margin-bottom: 0.25rem; }
.mb-0-5 { margin-bottom: 0.5rem; }
.mb-1-25 { margin-bottom: 1.25rem; }
.mb-2-5 { margin-bottom: 2.5rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-3-5 { margin-bottom: 3.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-0-625 { margin-top: 0.625rem; }
.gap-2 { gap: 2rem; }

/* --- Benefit Card --- */
.benefit-card {
  border-radius: 1rem;
  padding: 1.5rem;
}

/* --- Benefit Grid --- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Case Highlight Section --- */
.case-highlight-section {
  background-color: var(--color-primary-500);
  padding: 5rem 0;
}

/* --- Case Highlight Content --- */
.case-highlight-content {
  color: white;
}

.case-highlight-content h2 {
  color: white;
}

.case-highlight-content p {
  color: rgba(255, 255, 255, 0.9);
}

.case-highlight-content .case-disclaimer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.case-highlight-btn {
  background: white;
  color: var(--color-primary-500);
}

/* --- Partnership Steps --- */
.partnership-step {
  text-align: center;
}

.partnership-step h3 {
  font-size: var(--text-heading-6);
  margin-bottom: 0.5rem;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* --- Icon Circle Large Centered --- */
.icon-circle-lg-centered {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

/* --- Diagnostico Page --- */
.diag-hero-section {
  padding: 8rem 0 5rem;
}

.diag-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
}

.diag-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diag-info-icon-green { background: var(--color-ns-green-light); }
.diag-info-icon-cyan { background: var(--color-ns-cyan-light); }
.diag-info-icon-yellow { background: var(--color-ns-yellow-light); }

.diag-info-title {
  font-size: var(--text-heading-6);
  margin-bottom: 0.125rem;
}

.diag-info-desc {
  font-size: 0.875rem;
  opacity: 0.7;
}

.diag-form-container {
  border-radius: 1.25rem;
  padding: 2rem;
}

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

.diag-form-title {
  margin-bottom: 0.5rem;
  font-size: var(--text-heading-4);
}

.diag-form-desc {
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.diag-privacy-note {
  font-size: 0.75rem;
  opacity: 0.6;
  text-align: center;
  margin-top: 1rem;
}

.diag-privacy-note a {
  text-decoration: underline;
}

/* --- WhatsApp CTA Header --- */
.whatsapp-cta-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.whatsapp-cta-label {
  font-weight: 600;
}

.whatsapp-cta-desc {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* --- Gestao-Inadimplencia --- */
.highlight-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.dark .highlight-card {
  background: var(--color-background-6);
}

.highlight-card h4 {
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.feature-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon-circle svg {
  width: 28px;
  height: 28px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.sidebar-subtitle {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.sidebar-cta {
  margin-top: 2rem;
}

.icon-28 { width: 28px; height: 28px; }

/* --- Sobre Page --- */
.vision-col-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vision-figure {
  border-radius: 1.25rem;
  overflow: hidden;
}

.vision-figure img {
  width: 100%;
  height: auto;
}

.mission-info-panel {
  border-radius: 1.25rem;
  padding: 2rem;
}

.mission-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.mission-info-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
}

.dark .mission-info-card {
  background: var(--color-background-8);
}

.mission-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

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

.mission-meta {
  opacity: 0.6;
}

.mission-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 1.75rem;
}

.dark .mission-divider {
  background: rgba(255, 255, 255, 0.1);
}

.mission-date {
  font-size: 0.875rem;
  opacity: 0.6;
}

.mission-tracking-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.mission-tracking-center {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.team-bar {
  margin-top: 0.625rem;
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.team-bar-avatars {
  display: flex;
}

.team-bar-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-right: -14px;
  border: 4px solid var(--color-ns-yellow);
}

.team-bar-avatar:last-child {
  margin-right: 0;
}

.team-bar-title {
  margin-bottom: 0.25rem;
}

.team-bar-meta {
  opacity: 0.6;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.feature-list-icon {
  font-size: 36px;
}

.visual-showcase {
  background: linear-gradient(156deg, #FFF 32.92%, #83E7EE 91%);
  border-radius: 1.25rem;
  min-height: 400px;
  position: relative;
  overflow: visible;
}

.visual-showcase-item {
  position: absolute;
}

.visual-showcase-item img {
  width: 100%;
}

.visual-showcase-bottom-left {
  bottom: 6%;
  left: -12%;
  width: 85%;
}

.visual-showcase-top-right {
  top: 5%;
  right: -4%;
  max-width: 244px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.visual-showcase-bottom-right {
  bottom: 5%;
  right: -4%;
  max-width: 330px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-member-card {
  text-align: center;
  padding: 2rem;
}

.team-member-avatar {
  width: 156px;
  height: 156px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  background: #d5dbe3;
}

.team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-name {
  font-size: var(--text-heading-5);
  margin-bottom: 0.25rem;
}

.team-member-role {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.team-member-social {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark .social-link {
  border-color: rgba(255, 255, 255, 0.1);
}

.social-link img {
  width: 16px;
  height: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* --- Metodologia --- */
.card-feature-lg {
  border-radius: 1rem;
  padding: 2rem;
}

.card-feature-sm {
  border-radius: 1rem;
  padding: 1.5rem;
}

.step-number-circle {
  width: 40px;
  height: 40px;
  background: var(--color-primary-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.diff-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.faq-styled-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.25rem 0;
}

.dark .faq-styled-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.faq-styled-item:last-child {
  border-bottom: none;
}

.faq-styled-item summary {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-styled-item p {
  padding-top: 1rem;
  opacity: 0.8;
}

.grid-auto-280 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* --- Generic Utilities --- */
.fw-500 { font-weight: 500; }
.pos-relative { position: relative; }

/* =============== STEPS TIMELINE =============== */
.steps-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-timeline {
    gap: 0;
  }
}

.step-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid var(--color-stroke-2);
  transition: all 300ms ease;
}

@media (min-width: 768px) {
  .step-timeline-item {
    border-radius: 0;
    border-left: 3px solid var(--color-stroke-2);
    border-top: none;
    border-right: none;
    border-bottom: none;
    background-color: transparent;
    padding: 1.5rem 2rem;
  }
}

.step-timeline-item:hover {
  border-color: var(--color-primary-400);
}

@media (min-width: 768px) {
  .step-timeline-item:hover {
    border-left-color: var(--color-primary-500);
    background-color: var(--color-background-1);
  }
}

.dark .step-timeline-item {
  background-color: var(--color-background-7);
  border-color: var(--color-stroke-6);
}

@media (min-width: 768px) {
  .dark .step-timeline-item {
    background-color: transparent;
    border-left-color: var(--color-stroke-6);
  }

  .dark .step-timeline-item:hover {
    border-left-color: var(--color-ns-green);
    background-color: rgba(126, 184, 184, 0.05);
  }
}

/* Highlight step */
.step-timeline-highlight {
  border-color: var(--color-ns-green);
  background-color: var(--color-ns-green-light);
}

@media (min-width: 768px) {
  .step-timeline-highlight {
    border-left-color: var(--color-ns-green);
    border-left-width: 3px;
    background-color: var(--color-ns-green-light);
  }
}

.dark .step-timeline-highlight {
  background-color: rgba(126, 184, 184, 0.08);
  border-color: var(--color-ns-green);
}

@media (min-width: 768px) {
  .dark .step-timeline-highlight {
    border-left-color: var(--color-ns-green);
    background-color: rgba(126, 184, 184, 0.08);
  }
}

.step-timeline-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-background-3);
  color: var(--color-secondary);
  font-size: var(--text-tagline-1);
  font-weight: 600;
}

.step-timeline-highlight .step-timeline-number {
  background-color: var(--color-ns-green);
  color: var(--color-secondary);
}

.dark .step-timeline-number {
  background-color: var(--color-background-9);
  color: var(--color-accent);
}

.dark .step-timeline-highlight .step-timeline-number {
  background-color: var(--color-ns-green);
  color: var(--color-secondary);
}

.step-timeline-content {
  flex: 1;
  padding-top: 0.25rem;
}

.step-timeline-content h4 {
  font-size: var(--text-heading-6);
  line-height: var(--text-heading-6-lh);
  margin-bottom: 0.375rem;
}

.step-timeline-content p {
  font-size: var(--text-tagline-2);
  color: rgba(44, 62, 80, 0.7);
  max-width: none;
}

.dark .step-timeline-content p {
  color: rgba(245, 247, 250, 0.7);
}

/* =============== PILLAR SECTION =============== */
.pillar-section {
  overflow: hidden;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

@media (min-width: 1280px) {
  .pillar-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}

.pillar-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--color-stroke-2);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: all 300ms ease;
  cursor: pointer;
}

.pillar-card:hover {
  border-color: var(--color-primary-400);
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}

.dark .pillar-card {
  background-color: var(--color-background-7);
  border-color: var(--color-stroke-6);
}

.dark .pillar-card:hover {
  border-color: var(--color-ns-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ns-green-light);
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  color: var(--color-secondary);
}

.dark .pillar-icon {
  background-color: rgba(126, 184, 184, 0.15);
}

.dark .pillar-icon svg {
  color: var(--color-ns-green);
}

.pillar-card h3 {
  font-size: var(--text-heading-6);
  line-height: var(--text-heading-6-lh);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: var(--text-tagline-2);
  color: rgba(44, 62, 80, 0.7);
}

.dark .pillar-card p {
  color: rgba(245, 247, 250, 0.7);
}

.pillar-optional {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary-500);
  background-color: var(--color-primary-100);
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
}

.dark .pillar-optional {
  background-color: rgba(91, 139, 181, 0.15);
  color: var(--color-primary-400);
}

/* =============== CASE STUDY SECTION =============== */
.case-study-section {
  overflow: hidden;
}

.case-study-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .case-study-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}

.case-chart {
  flex: 1;
  background: rgba(91, 139, 181, 0.04);
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid rgba(91, 139, 181, 0.1);
}

.dark .case-chart {
  background: rgba(245, 247, 250, 0.03);
  border-color: rgba(245, 247, 250, 0.08);
}

.case-bar-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
  height: 200px;
  padding: 0;
}

@media (min-width: 640px) {
  .case-bar-group {
    gap: 1.25rem;
    height: 240px;
  }
}

.case-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 64px;
  height: 100%;
  justify-content: flex-end;
}

@media (min-width: 640px) {
  .case-bar-wrapper {
    max-width: 72px;
  }
}

.case-bar-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.dark .case-bar-value {
  color: var(--color-accent);
}

.case-bar {
  width: 100%;
  background: var(--color-gradient-3);
  border-radius: 0.375rem 0.375rem 0.125rem 0.125rem;
  min-height: 16px;
  transition: height 800ms ease;
}

.case-bar-start {
  background: rgba(91, 139, 181, 0.35);
}

.dark .case-bar-start {
  background: rgba(91, 139, 181, 0.3);
}

.case-bar-mid {
  background: rgba(91, 139, 181, 0.55);
}

.dark .case-bar-mid {
  background: rgba(91, 139, 181, 0.45);
}

.case-bar-highlight {
  background: #5b8bb5;
  box-shadow: 0 4px 12px rgba(91, 139, 181, 0.35);
}

.case-bar-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(44, 62, 80, 0.5);
  white-space: nowrap;
  min-height: 1rem;
}

.dark .case-bar-label {
  color: rgba(245, 247, 250, 0.5);
}

.case-summary {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.case-stat-number {
  font-size: var(--text-heading-4);
  font-weight: 600;
  color: var(--color-primary-500);
  line-height: 1.2;
}

.case-stat-label {
  font-size: var(--text-tagline-1);
  color: rgba(44, 62, 80, 0.7);
}

.dark .case-stat-label {
  color: rgba(245, 247, 250, 0.7);
}

.case-insight {
  background-color: var(--color-ns-green-light);
  border-left: 4px solid var(--color-ns-green);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: var(--text-tagline-2) !important;
  font-style: italic;
  color: var(--color-secondary) !important;
}

.dark .case-insight {
  background-color: rgba(126, 184, 184, 0.1);
  color: var(--color-accent) !important;
}

/* =============== DIFFERENTIATOR SECTION =============== */
.diff-section {
  overflow: hidden;
}

.diff-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .diff-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

.diff-content {
  flex: 1;
}

.diff-content .badge {
  margin-bottom: 1.25rem;
}

.diff-content h2 {
  margin-bottom: 1.5rem;
}

.diff-lead {
  font-size: var(--text-tagline-1) !important;
  color: rgba(44, 62, 80, 0.8) !important;
  margin-bottom: 0.75rem;
}

.dark .diff-lead {
  color: rgba(245, 247, 250, 0.8) !important;
}

.diff-lead strong {
  color: var(--color-secondary);
  font-weight: 600;
}

.dark .diff-lead strong {
  color: var(--color-accent);
}

.diff-comparison {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .diff-comparison {
    flex-direction: row;
    max-width: none;
  }
}

.diff-card-inner {
  flex: 1;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.diff-card-inner h4 {
  font-size: var(--text-heading-6);
  margin-bottom: 1rem;
}

.diff-card-inner ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.diff-card-inner li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-tagline-2);
  color: rgba(44, 62, 80, 0.8);
}

.dark .diff-card-inner li {
  color: rgba(245, 247, 250, 0.8);
}

.diff-card-inner li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.diff-card-yes {
  background-color: var(--color-ns-green-light);
  border: 1px solid rgba(126, 184, 184, 0.3);
}

.dark .diff-card-yes {
  background-color: rgba(126, 184, 184, 0.08);
  border-color: rgba(126, 184, 184, 0.2);
}

.diff-card-yes li svg {
  color: var(--color-ns-green);
}

.diff-card-no {
  background-color: var(--color-background-3);
  border: 1px solid var(--color-stroke-2);
}

.dark .diff-card-no {
  background-color: rgba(159, 184, 200, 0.08);
  border-color: rgba(159, 184, 200, 0.15);
}

.diff-card-no li svg {
  color: var(--color-ns-red);
}

/* =============== RESSALVA (DISCLAIMERS) =============== */
.ressalva {
  text-align: center;
  font-size: 0.75rem !important;
  color: rgba(44, 62, 80, 0.5) !important;
  margin-top: 2rem;
  font-style: italic;
}

.dark .ressalva {
  color: rgba(245, 247, 250, 0.4) !important;
}

.ressalva-light {
  color: rgba(245, 247, 250, 0.5) !important;
}

.dark .ressalva-light {
  color: rgba(245, 247, 250, 0.4) !important;
}

/* =============== WHATSAPP FLOATING BUTTON =============== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 40;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 300ms ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 1024px) {
  .whatsapp-float {
    bottom: 2rem;
    left: 2rem;
  }
}


/* =============== PRINT STYLES =============== */
@media print {
  .header,
  .footer,
  .theme-toggle,
  .mobile-menu,
  .whatsapp-float {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}
