:root {
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0f172a;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --text-light: #f3f4f6;
  --accent-color: #0ea5e9;
  /* Light cyan/blue accent for tech vibe */
  --corporate-blue: #020617;
  /* Very profound professional blue/black */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padded {
  padding: 7rem 0;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo,
.logo-white {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

.section-title-dark {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--corporate-blue);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 4rem;
}

.text-link {
  display: inline-block;
  color: var(--corporate-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 2px;
  margin-top: 1rem;
  transition: var(--transition-fast);
}

.text-link:hover {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-body);
  transition: var(--transition-fast);
  cursor: pointer;
  border-radius: 2px;
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
  border: 1px solid var(--accent-color);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-color);
}

.btn-outline {
  background: transparent;
  color: var(--corporate-blue);
  border: 1px solid var(--corporate-blue);
}

.btn-outline:hover {
  background: var(--corporate-blue);
  color: #fff;
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem 5%;
}

.navbar .logo {
  font-size: 2rem;
  color: #ffffff;
  /* Default is white for hero overlay */
  text-decoration: none;
  transition: color var(--transition-fast);
}

.navbar.scrolled .logo {
  color: var(--corporate-blue);
}

.navbar .logo span,
.logo-white span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.navbar.scrolled .nav-links a {
  color: var(--corporate-blue);
}

.nav-links a:hover {
  color: var(--accent-color);
}

.navbar .btn-outline {
  border-color: #fff;
  color: #fff;
}

.navbar.scrolled .btn-outline {
  border-color: var(--corporate-blue);
  color: var(--corporate-blue);
}

.navbar.scrolled .btn-outline:hover {
  background: var(--corporate-blue);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
}

/* Hero Corporate */
.corporate-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--corporate-blue);
}

#neuronCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  color: #fff;
  max-width: 800px;
  z-index: 10;
  margin-top: 4rem;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 650px;
  color: #f1f5f9;
}

/* Services / Capabilities */
.bg-light-grey {
  background-color: var(--bg-light);
}

.capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.capability-row {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.capability-row.reverse {
  flex-direction: row-reverse;
}

.cap-image {
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.cap-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.cap-text {
  flex: 1;
}

.cap-text h3 {
  font-size: 2.2rem;
  color: var(--corporate-blue);
  margin-bottom: 1rem;
}

.cap-text p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.hover-zoom:hover img {
  transform: scale(1.05);
}

/* Insights / Cases */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.insight-card {
  background: var(--bg-white);
  border: 1px solid #e5e7eb;
  transition: var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.insight-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.insight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-color);
  color: #fff;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insight-content {
  padding: 2.5rem 2rem;
  flex-grow: 1;
}

.insight-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--corporate-blue);
}

.insight-content p {
  color: var(--text-muted);
}

/* CTA Corporativo */
.cta-corporate {
  background: var(--corporate-blue);
  color: #fff;
  border-top: 4px solid var(--accent-color);
}

.cta-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: #94a3b8;
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

/* Footer */
.corporate-footer {
  background: #020617;
  /* Even darker blue for footer */
  color: #cbd5e1;
  padding: 5rem 0 2rem;
}

.logo-white {
  font-size: 2.2rem;
  color: #fff;
  text-decoration: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand p {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {

  .capability-row,
  .capability-row.reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .cap-image {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .section-title-dark {
    font-size: 2.2rem;
  }

  .nav-links,
  .navbar .btn-outline {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
  }

  .mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: var(--transition-fast);
  }

  .navbar.scrolled .mobile-menu-btn span {
    background: var(--corporate-blue);
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-nav {
    gap: 2.5rem;
  }
}
/* Legal Section Styles */
.legal-section {
    padding: 140px 20px 80px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 300px);
}
.legal-section .container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.legal-section h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}
.legal-section h2 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}
.legal-section p, .legal-section li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
@media (max-width: 768px) {
    .legal-section .container {
        padding: 30px 20px;
    }
    .legal-section h1 {
        font-size: 2rem;
    }
}
