/* ===========================
   Chainbridge Accounting & Advisory
   Global Stylesheet
   =========================== */

/* --- CSS Variables / Theme --- */
:root {
  --bg-primary: #F5F0E8;
  --bg-secondary: #EDE7DB;
  --bg-card: #FFFFFF;
  --bg-dark: #1C1917;
  --color-orange: #C2592A;
  --color-orange-light: #D4764A;
  --color-orange-dark: #A04520;
  --color-green: #1A3A2A;
  --color-green-light: #2D5A42;
  --color-green-muted: #3A6B52;
  --color-text: #2D2A26;
  --color-text-light: #6B6560;
  --color-text-lighter: #9B9590;
  --color-white: #FFFFFF;
  --color-border: #DDD5C8;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

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

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.6;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.75);
}

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

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

.section--green h2,
.section--green h3,
.section--green h4 {
  color: var(--color-white);
}

.section--green p {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Grid Utilities --- */
.grid {
  display: grid;
  gap: 32px;
}

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

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

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

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.section--dark .section-header .label,
.section--green .section-header .label {
  color: var(--color-orange-light);
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.125rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background-color: var(--color-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(194, 89, 42, 0.3);
}

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

.btn--secondary:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-1px);
}

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

.btn--secondary-green:hover {
  background-color: var(--color-green);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 58, 42, 0.3);
}

.btn--dark {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn--dark:hover {
  background-color: var(--color-green-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 58, 42, 0.3);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-orange);
}

.btn--white:hover {
  background-color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn--large {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

.btn-arrow {
  transition: transform var(--transition);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  border-top: 3px solid var(--color-green);
  transition: all var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-logo-img {
  width: auto;
  height: 36px;
  display: block;
  filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(700%) hue-rotate(345deg) brightness(85%);
}

.footer .nav-logo-img {
  filter: brightness(0) invert(1);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text .firm-name {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-text);
}

.nav-logo-text .firm-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color var(--transition);
  position: relative;
}

.nav-links a.btn--dark {
  color: var(--color-white);
}

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

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.9375rem !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* --- Green Accent Utilities --- */
.text-green {
  color: var(--color-green) !important;
}

.hero-green-bar {
  width: 80px;
  height: 4px;
  background: var(--color-green);
  border-radius: 2px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.stat-number--green {
  color: var(--color-green) !important;
}

.label--green {
  color: var(--color-green) !important;
  background: rgba(26, 58, 42, 0.08) !important;
}

.label--green svg {
  color: var(--color-green);
}

.green-top-border {
  border-top: 3px solid var(--color-green);
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-orange);
  margin-bottom: 24px;
  padding: 6px 16px;
  background: rgba(194, 89, 42, 0.08);
  border-radius: 100px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--color-orange);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  opacity: 0.06;
  pointer-events: none;
}

.hero-visual-logo {
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(18%) sepia(20%) saturate(900%) hue-rotate(100deg) brightness(90%);
}

/* --- Verticals / Industry Cards --- */
.vertical-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.vertical-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--color-orange);
}

.vertical-card:hover::before {
  transform: scaleX(1);
}

.vertical-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(194, 89, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-orange);
}

.vertical-card .card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-lighter);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.vertical-card h3 {
  margin-bottom: 12px;
}

.vertical-card p {
  font-size: 0.9375rem;
  margin-bottom: 24px;
  flex: 1;
}

.vertical-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.vertical-card .card-tag {
  font-size: 0.8125rem;
  padding: 4px 12px;
  background: var(--bg-primary);
  border-radius: 100px;
  color: var(--color-text-light);
}

.vertical-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--color-orange);
  font-size: 0.9375rem;
  margin-top: auto;
}

.vertical-card .card-link svg {
  transition: transform var(--transition);
}

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

/* --- Outcomes Section --- */
.outcome-card {
  padding: 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.outcome-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.outcome-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(194, 89, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-orange-light);
}

.outcome-card h4 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.outcome-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --- AI + Human Section --- */
.ai-human-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ai-human-visual {
  position: relative;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ai-pill:last-child {
  margin-bottom: 0;
}

.ai-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-pill-icon--ai {
  background: rgba(194, 89, 42, 0.1);
  color: var(--color-orange);
}

.ai-pill-icon--human {
  background: rgba(26, 58, 42, 0.1);
  color: var(--color-green);
}

.ai-pill-text {
  display: flex;
  flex-direction: column;
}

.ai-pill-text strong {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.ai-pill-text span {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* --- How We Work --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 20px;
}

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

.process-step p {
  font-size: 0.9375rem;
}

/* --- Services List (Vertical Pages) --- */
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) > * {
  direction: ltr;
}

.service-item .service-content {
  max-width: 520px;
}

.service-item .service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 40px;
}

.service-item .label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.service-item h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-item p {
  margin-bottom: 20px;
}

.service-item ul {
  margin-bottom: 24px;
}

.service-item ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.service-item ul li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--color-green);
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.testimonial-card .stars {
  color: var(--color-orange);
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-card .author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-card .author-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.testimonial-card .author-role {
  font-size: 0.8125rem;
  color: var(--color-text-lighter);
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding: 60px 0;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.section--green .stat-number {
  color: var(--color-white);
}

.stat-item .stat-label {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.section--green .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-text-lighter);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.9375rem;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.section--green .cta-section p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 40px;
}

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

.footer-brand p {
  font-size: 0.9375rem;
  margin-top: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Page Headers (Vertical Pages) --- */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
}

.page-hero .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-orange);
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(194, 89, 42, 0.08);
  border-radius: 100px;
}

.page-hero h1 {
  max-width: 700px;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 36px;
}

.page-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Feature Grid (Vertical Pages) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(194, 89, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-orange);
}

.feature-card h4 {
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9375rem;
}

/* --- Expertise Tags --- */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.expertise-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
}

.expertise-tag:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

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

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

  .ai-human-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-item:nth-child(even) {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero-visual {
    display: none;
  }

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

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

  .stat-item .stat-number {
    font-size: 7vw;
  }

  .section-header .label {
    font-size: 2.5vw;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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