/**
 * Shared inner-page + footer styles aligned with pages/index.html
 * (real estate palette: light shells, Lexend/Lato, premium dark footer)
 */

body.re-page-inner {
  overflow-x: hidden;
}

/* --- Inner hero: navbar only, no full-viewport dark block --- */
.re-inner-hero {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
  padding-bottom: 0 !important;
}

/* Contact: keep same dark page chrome as index behind the nav; light band only on main */
.re-contact-page .re-inner-main {
  background:
    radial-gradient(ellipse 130% 95% at 72% -28%, rgba(14, 116, 213, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 110% 80% at -8% 8%, rgba(0, 16, 65, 0.12) 0%, transparent 48%),
    linear-gradient(168deg, #eef2f9 0%, #f4f7fc 38%, #f8fafc 72%, #fbfcfe 100%);
  color: #0f172a;
}

.re-about-page {
  background:
    radial-gradient(ellipse 130% 95% at 72% -28%, rgba(14, 116, 213, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 110% 80% at -8% 8%, rgba(0, 16, 65, 0.12) 0%, transparent 48%),
    linear-gradient(168deg, #eef2f9 0%, #f4f7fc 38%, #f8fafc 72%, #fbfcfe 100%);
  color: #0f172a;
}

/* Nav on light inner pages (about only — contact uses index-style nav on dark body) */
.re-about-page .navbar.w-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.re-about-page .nav_link.w-nav-link {
  color: rgba(15, 23, 42, 0.78) !important;
}

.re-about-page .nav_link.w-nav-link:hover,
.re-about-page .nav_link.w-nav-link.w--current {
  color: #1d4ed8 !important;
}

.re-about-page .heading-2 {
  color: #0f172a !important;
}

.re-about-page .w-nav-button .w-icon-nav-menu:before {
  color: #0f172a;
}

.re-inner-main {
  padding: clamp(1rem, 4vw, 2.5rem) 0 clamp(3rem, 8vw, 5rem);
}

.re-light-shell {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 115% 85% at 50% -35%, rgba(14, 116, 213, 0.08) 0%, transparent 58%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 42%, #fefefe 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 28px 56px rgba(0, 16, 65, 0.07),
    0 10px 32px rgba(14, 116, 213, 0.06);
}

.re-eyebrow {
  font-family: Lexend, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin: 0 0 0.75rem;
}

.re-h1 {
  font-family: Lexend, sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #0f172a;
}

.re-accent {
  background: linear-gradient(135deg, #0e74d5, #2563eb 55%, #1e40af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.re-lead {
  font-family: Lato, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.72);
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

.re-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

@media (max-width: 991px) {
  .re-contact-grid {
    grid-template-columns: 1fr;
  }
}

.re-contact-intro .re-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #0e74d5 0%, #2563eb 58%, #1d4ed8 100%);
  color: #fff !important;
  font-family: Lexend, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.re-contact-intro .re-linkedin:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.38);
}

.re-contact-intro .re-linkedin img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.re-form-title {
  font-family: Lexend, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  margin: 0 0 0.5rem;
  color: #0f172a;
}

.re-form-lead {
  font-family: Lato, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.68);
  margin: 0 0 1.25rem;
}

.re-contact-form-card .service-tab,
.re-contact-form-card .service-tab-2 {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.re-contact-form-card .w-input {
  border-radius: 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.45) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  font-family: Lato, sans-serif !important;
  padding: 0.75rem 1rem !important;
  margin-top: 0.35rem !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.re-contact-form-card .w-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  outline: none !important;
}

.re-contact-form-card label.paragraph-6,
.re-contact-form-card .paragraph-6:first-of-type {
  font-family: Lexend, sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55) !important;
  font-weight: 600 !important;
}

.re-contact-form-card .w-button {
  border-radius: 12px !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  font-family: Lexend, sans-serif !important;
  font-weight: 600 !important;
  padding: 0.85rem 1.5rem !important;
  border: none !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.3) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.re-contact-form-card .w-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.4) !important;
}

/* --- About page --- */
.re-about-hero {
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.re-about-hero-inner {
  max-width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 10px;
}

.re-about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (max-width: 767px) {
  .re-about-gallery {
    grid-template-columns: 1fr;
  }
}

.re-about-gallery img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.re-about-story {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.re-about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  max-width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 10px;
}

@media (max-width: 991px) {
  .re-about-story-grid {
    grid-template-columns: 1fr;
  }
}

.re-about-story .re-h2 {
  font-family: Lexend, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #0f172a;
}

.re-about-story p {
  font-family: Lato, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.74);
  margin: 0 0 1rem;
}

.re-about-story p:last-child {
  margin-bottom: 0;
}

.re-about-story img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.re-about-story strong,
.re-about-hero .re-lead strong {
  color: #0f172a;
  font-weight: 700;
}

/* --- Footer: premium dark band (index-aligned) --- */
.re-footer-premium {
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(22, 115, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #070b18 0%, #0a1024 100%) !important;
  border-bottom: none !important;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 1.25rem !important;
  color: rgba(226, 232, 240, 0.9);
}

.re-footer-container {
  max-width: 1120px !important;
}

.re-footer-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.re-footer-brand .re-footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  width: 40px;
  height: auto;
}

.re-footer-tagline {
  margin: 0;
  flex: 1;
  min-width: min(100%, 280px);
  max-width: 36rem;
  font-family: Lato, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.88);
}

.re-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.re-footer-premium .re-footer-heading {
  color: #fff !important;
  font-family: Lexend, sans-serif;
  letter-spacing: 0.12em;
  font-size: 11px !important;
  margin-bottom: 1rem;
}

.re-footer-premium .re-footer-link {
  color: rgba(203, 213, 225, 0.88) !important;
  margin-top: 0 !important;
  margin-bottom: 0.65rem !important;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.re-footer-premium .re-footer-link:hover {
  color: #93c5fd !important;
  transform: translateX(3px);
}

.re-footer-email {
  word-break: break-word;
}

.re-footer-book {
  margin-top: 0.75rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #fff !important;
  font-family: Lexend, sans-serif;
  font-weight: 600;
  font-size: 13px !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.re-footer-book:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
  filter: brightness(1.06);
}

.re-footer-social {
  margin-top: 1rem !important;
  margin-left: 0 !important;
}

.re-footer-social .footer-social-link img {
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.re-footer-social .footer-social-link:hover img {
  opacity: 1;
}

.re-footer-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent) !important;
  margin-top: clamp(2rem, 4vw, 2.75rem) !important;
}

.re-footer-copy {
  color: rgba(148, 163, 184, 0.85) !important;
  padding-bottom: 0.5rem;
}

@media (max-width: 991px) {
  .re-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .re-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* --- Case study pages (offer automation, AI listings) --- */
.re-case-page .hero-studies {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.re-case-hero-band {
  margin-top: 0.5rem;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 90% 120% at 12% 0%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 90% at 92% 80%, rgba(14, 116, 213, 0.14), transparent 50%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.96) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 56px rgba(0, 16, 65, 0.18);
}

.re-case-hero-band .text-block-20 {
  border-bottom-color: rgba(147, 197, 253, 0.25);
  color: rgba(226, 232, 240, 0.88);
}

.re-case-hero-band .heading-30 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1rem;
}

.re-case-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.re-case-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.55rem 1.35rem;
  border-radius: 10px;
  font-family: Lexend, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.re-case-btn--primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

.re-case-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.42);
  border-color: rgba(191, 219, 254, 0.5);
}

.re-case-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9 !important;
  border-color: rgba(148, 163, 184, 0.35);
}

.re-case-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(191, 219, 254, 0.45);
}

.re-case-btn--dark {
  background: #fff;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.08);
}

.re-case-btn--dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

/* On light backgrounds (bridge, article): blue primary without conflicting modifiers */
.re-case-btn--solid {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.re-case-btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.38);
}

.re-case-btn--muted {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
}

.re-case-btn--muted:hover {
  background: #e2e8f0 !important;
  border-color: rgba(100, 116, 139, 0.45) !important;
}

.re-case-bridge {
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  max-width: min(52rem, calc(100% - 2rem));
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #fff 45%, #f1f5f9 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 48px rgba(15, 23, 42, 0.06);
}

.re-case-bridge__eyebrow {
  margin: 0 0 0.4rem;
  font-family: Lexend, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2563eb;
}

.re-case-bridge__title {
  margin: 0 0 0.65rem;
  font-family: Lexend, sans-serif;
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

.re-case-bridge__text {
  margin: 0 0 1.1rem;
  font-family: Lato, sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(51, 65, 85, 0.92);
  max-width: 40rem;
}

.re-case-bridge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.re-case-article {
  max-width: min(52rem, calc(100% - 2rem)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.re-case-article .studies-body {
  padding-top: 0.5rem;
}

.re-case-article .image-28 {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.re-case-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1.5rem 0 0.35rem;
}

/* =============================================================================
   Enterprise navbar — minimal links + CTA (add class "re-navbar" to .navbar.w-nav)
   ============================================================================= */

.navbar.w-nav.re-navbar {
  position: relative;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.58) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Home index only: first hero uses plain .hero — transparent bar like original Webflow (#04112100), no glass */
section.hero:not(.hero2) .navbar.w-nav.re-navbar {
  background: transparent !important;
  background-color: #04112100 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Index home: full-bleed navbar row (not inside centered .c_container); logo left, links right; 20px from viewport edges */
section.hero:not(.hero2) .navbar.w-nav.re-navbar .re-index-navbar-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.navbar.w-nav.re-navbar .c_container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  max-width: min(1180px, calc(100% - 2rem)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.navbar.w-nav.re-navbar .nav-menu.w-nav-menu.re-nav-menu {
  position: relative !important;
  background: transparent !important;
}

/* Desktop only: flex row. Do not force display on small screens — Webflow hides .w-nav-menu until open. */
@media screen and (min-width: 992px) {
  .navbar.w-nav.re-navbar .nav-menu.w-nav-menu.re-nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 0.2rem 0.15rem !important;
  }
}

.navbar.w-nav.re-navbar .nav_link.w-nav-link {
  padding: 0.42rem 0.7rem !important;
  border-radius: 10px;
  font-family: Lexend, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  color: rgba(248, 250, 252, 0.9) !important;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.navbar.w-nav.re-navbar .nav_link.w-nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.navbar.w-nav.re-navbar .nav_link.w-nav-link.w--current:not(.re-nav-cta) {
  color: #fff !important;
  background: rgba(59, 130, 246, 0.22) !important;
}

.navbar.w-nav.re-navbar .nav_link.w-nav-link.re-nav-cta {
  margin-left: 0.25rem;
  padding: 0.52rem 1.2rem !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 48%, #4f46e5 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 4px 14px rgba(37, 99, 235, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.12) inset !important;
}

.navbar.w-nav.re-navbar .nav_link.w-nav-link.re-nav-cta:hover {
  filter: brightness(1.06);
  color: #fff !important;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 48%, #4f46e5 100%) !important;
}

.navbar.w-nav.re-navbar .nav_link.w-nav-link.re-nav-cta.w--current {
  box-shadow:
    0 0 0 2px rgba(125, 211, 252, 0.5),
    0 4px 14px rgba(37, 99, 235, 0.38) !important;
}

.navbar.w-nav.re-navbar .w-nav-brand {
  flex-shrink: 0;
}

.navbar.w-nav.re-navbar .w-nav-button .w-icon-nav-menu:before {
  color: rgba(248, 250, 252, 0.92);
}

/* Mobile / tablet: menu closed by default; only visible when Webflow sets [data-nav-menu-open] */
@media screen and (max-width: 991px) {
  .navbar.w-nav.re-navbar .c_container,
  .navbar.w-nav.re-navbar .re-index-navbar-inner {
    align-items: center !important;
    flex-wrap: wrap !important;
    row-gap: 0 !important;
  }

  .navbar.w-nav.re-navbar .w-nav-brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    z-index: 2;
  }

  .navbar.w-nav.re-navbar .w-nav-button {
    order: 2;
    flex: 0 0 auto;
    z-index: 2;
    margin-left: auto;
  }

  .navbar.w-nav.re-navbar .nav-menu.w-nav-menu.re-nav-menu {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .navbar.w-nav.re-navbar .nav-menu.w-nav-menu.re-nav-menu:not([data-nav-menu-open]) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
    border: 0 !important;
  }

  .navbar.w-nav.re-navbar .nav-menu.w-nav-menu.re-nav-menu[data-nav-menu-open] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.15rem !important;
    margin-top: 0.5rem;
    padding: 0.75rem 0 !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: rgba(15, 23, 42, 0.97) !important;
    border-radius: 12px;
  }

  .navbar.w-nav.re-navbar .nav_link.w-nav-link {
    width: 100%;
    text-align: left;
  }

  .navbar.w-nav.re-navbar .nav_link.w-nav-link.re-nav-cta {
    margin-left: 0;
    margin-top: 0.35rem;
    text-align: center;
  }
}

/* =============================================================================
   Blog — enterprise article layout (.re-blog-page on body)
   ============================================================================= */

body.re-blog-page {
  background:
    radial-gradient(ellipse 100% 70% at 50% -20%, rgba(37, 99, 235, 0.07), transparent 55%),
    linear-gradient(180deg, #f1f5f9 0%, #f8fafc 35%, #ffffff 100%);
  color: #0f172a;
}

.re-blog-page .hero-studies {
  padding-bottom: 0 !important;
  background:
    radial-gradient(ellipse 100% 90% at 50% -30%, rgba(56, 189, 248, 0.2), transparent 55%),
    linear-gradient(168deg, #020617 0%, #0f172a 50%, #0c1929 100%) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.re-blog-hero {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.re-blog-eyebrow {
  margin: 0 0 0.75rem;
  font-family: Lexend, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.95);
}

.re-blog-title {
  margin: 0 0 0.85rem;
  font-family: Syne, Lexend, sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 4.5vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #f8fafc;
}

.re-blog-dek {
  margin: 0;
  font-family: "DM Sans", Lato, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.88);
}

.re-blog-body {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.re-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  max-width: min(1100px, calc(100% - 2rem)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.re-blog-aside {
  position: sticky;
  top: 6rem;
  padding: 1.25rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 16px 40px rgba(15, 23, 42, 0.06);
}

.re-blog-aside .blog-author-image {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 2px solid rgba(37, 99, 235, 0.2);
}

.re-blog-aside .blog-author-name {
  font-family: Lexend, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.re-blog-aside .blog-author-date {
  font-family: "DM Sans", Lato, sans-serif;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
}

.re-blog-article {
  max-width: 40rem;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.85rem);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.95) inset,
    0 20px 50px rgba(15, 23, 42, 0.06);
}

.re-blog-article .re-blog-lead {
  font-family: "DM Sans", Lato, sans-serif;
  font-size: clamp(1.05rem, 2.1vw, 1.18rem);
  line-height: 1.65;
  font-weight: 500;
  color: #1e293b;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border-left: 4px solid #2563eb;
  background: linear-gradient(105deg, rgba(37, 99, 235, 0.06), #fff 40%);
}

.re-blog-article h2 {
  font-family: Lexend, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 2rem 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.re-blog-article h2:first-of-type {
  margin-top: 0.5rem;
}

.re-blog-article p {
  font-family: "DM Sans", Lato, sans-serif;
  font-size: 1.02rem;
  line-height: 1.68;
  color: #475569;
  margin: 0 0 1.1rem;
}

.re-blog-article p strong {
  color: #0f172a;
  font-weight: 600;
}

.re-blog-article .re-blog-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.re-blog-cta {
  max-width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.12) 0%, rgba(15, 23, 42, 0.04) 100%);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.re-blog-cta p {
  margin: 0 0 1rem;
  font-family: "DM Sans", Lato, sans-serif;
  font-size: 1rem;
  color: #334155;
}

.re-blog-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.5rem;
  border-radius: 999px;
  font-family: Lexend, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0ea5e9, #2563eb 50%, #4f46e5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.re-blog-cta a:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

@media screen and (max-width: 900px) {
  .re-blog-layout {
    grid-template-columns: 1fr;
  }

  .re-blog-aside {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .re-blog-aside .blog-author-image {
    margin-bottom: 0;
  }
}
