/* ===================================================================
   REDDE — Institutional Corporate Website
   Design System v4.0 · Bold Institutional Identity
   =================================================================== */

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

:root {
  /* Core Palette — deep, authoritative */
  --ink: #09123a;
  --ink-medium: #09123a;
  --ink-light: #09123a;
  --ink-hover: #09123a;

  /* Warm Accent — rich amber */
  --amber: #E8892B;
  --amber-deep: #C97420;
  --amber-light: #F5AA55;
  --amber-glow: rgba(232, 137, 43, 0.10);
  --amber-soft: rgba(232, 137, 43, 0.06);

  /* Neutral System */
  --white: #ffffff;
  --off-white: #F8F9FB;
  --warm-gray-50: #F4F5F7;
  --warm-gray-100: #EAECF0;
  --warm-gray-200: #D8DBE4;
  --warm-gray-300: #B8BECE;
  --warm-gray-400: #8994A8;
  --warm-gray-500: #606878;
  --warm-gray-600: #454D5E;
  --warm-gray-700: #313848;
  --warm-gray-800: #1E2333;

  /* Semantic */
  --text-primary: #09123a;
  --text-secondary: #4A5268;
  --text-tertiary: #8994A8;
  --text-on-dark: rgba(255, 255, 255, 0.95);
  --text-on-dark-secondary: rgba(255, 255, 255, 0.50);
  --text-on-dark-muted: rgba(255, 255, 255, 0.30);

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(9, 18, 58, 0.06);
  --shadow-sm: 0 2px 10px rgba(9, 18, 58, 0.08);
  --shadow-md: 0 6px 24px rgba(9, 18, 58, 0.10);
  --shadow-lg: 0 16px 48px rgba(9, 18, 58, 0.13);
  --shadow-xl: 0 28px 72px rgba(9, 18, 58, 0.18);

  /* Shape */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 0.16s;
  --duration: 0.28s;
  --duration-slow: 0.5s;

  /* Layout */
  --container-max: 1200px;
  --section-gap: 150px;
  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--amber);
  color: var(--white);
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== TYPOGRAPHY — Editorial, Commanding ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.08; }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.28; }
h4 { font-size: 1rem; }

/* Section labels — editorial, authoritative */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--amber);
  margin-bottom: 22px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(232, 137, 43, 0);
}

.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232, 137, 43, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--warm-gray-200);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-white:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.12);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration) var(--ease-out);
}

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

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--duration-slow) var(--ease-out);
  padding: 22px 0;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(9, 18, 58, 0.94);
  backdrop-filter: blur(28px) saturate(1.3);
  padding: 14px 0;
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 122px;
  line-height: 0;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.01em;
  transition: color var(--duration) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width var(--duration) var(--ease-out);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 26px !important;
  background: var(--amber) !important;
  color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  transition: all var(--duration) var(--ease-out) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--amber-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 137, 43, 0.35);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 26px;
  height: 1.5px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--duration) var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===================================================================
   HERO — Full-screen, Commanding, Institutional
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--ink);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 18, 58, 0.62), rgba(9, 18, 58, 0.78)),
    radial-gradient(circle at 50% 45%, rgba(232, 137, 43, 0.14), transparent 46%);
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%) scale(1.16);
  border: 0;
  pointer-events: none;
}

/* Subtle ambient light */
.hero-bg-elements {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-elements .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}

.hero-bg-elements .orb-1 {
  width: 800px;
  height: 800px;
  background: var(--amber);
  top: -350px;
  right: -250px;
  opacity: 0.055;
}

.hero-bg-elements .orb-2 {
  width: 600px;
  height: 600px;
  background: var(--amber-deep);
  bottom: -300px;
  left: -250px;
  opacity: 0.040;
}

.hero-bg-elements .orb-3 {
  width: 300px;
  height: 300px;
  background: var(--amber-light);
  top: 40%;
  left: 50%;
  opacity: 0.025;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Main hero content — centered, commanding */
.hero .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* Eyebrow — editorial pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s var(--ease-out);
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.hero-eyebrow-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--amber);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeInUp 0.7s var(--ease-out) 0.09s both;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-description {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
  line-height: 1.85;
  margin: 0 auto;
  max-width: 620px;
  animation: fadeInUp 0.7s var(--ease-out) 0.18s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s var(--ease-out) 0.27s both;
}

/* Stats bar — at the bottom of hero, separated by a rule */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  animation: fadeInUp 0.7s var(--ease-out) 0.36s both;
}

.hero-stats-bar .container {
  padding-top: 0;
  padding-bottom: 0;
}

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

.hero-stat-item {
  padding: 36px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--duration) var(--ease-out);
}

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

.hero-stat-item:hover {
  background: rgba(255, 255, 255, 0.025);
}

.hero-stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.hero-stat-number span.accent {
  color: var(--amber);
}

.hero-stat-text {
  color: var(--text-on-dark-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 160px;
}

/* ===================================================================
   ABOUT — Clean, Institutional
   =================================================================== */
.about {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: var(--amber);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
}

.about-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--amber);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-card-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--amber);
}

.about-card blockquote {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
}

.about-card blockquote .accent {
  color: var(--amber-light);
  font-style: normal;
  font-weight: 700;
}

.about-content .section-subtitle {
  margin-bottom: 40px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--warm-gray-100);
}

.about-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--warm-gray-100);
  transition: all var(--duration) var(--ease-out);
}

.about-feature:hover {
  padding-left: 4px;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--amber-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
}

.about-feature h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.about-feature p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ===================================================================
   ECOSYSTEM — Organized, Professional
   =================================================================== */
.ecosystem {
  padding: 62px 0 92px;
  background: var(--warm-gray-50);
  position: relative;
  overflow: hidden;
}

.ecosystem::before {
  display: none;
}

.ecosystem-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.ecosystem-header .section-label {
  color: var(--amber);
  margin-bottom: 8px;
}

.ecosystem-header .section-label::before {
  display: none;
}

.ecosystem-header .section-title {
  color: var(--text-primary);
  margin-bottom: 0;
}

.ecosystem-controls {
  display: flex;
  gap: 12px;
  padding-bottom: 10px;
}

.ecosystem-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-deep);
  background: var(--warm-gray-100);
  transition: all var(--duration) var(--ease-out);
}

.ecosystem-arrow svg {
  width: 22px;
  height: 22px;
}

.ecosystem-arrow:hover {
  color: var(--white);
  background: var(--amber);
  transform: translateY(-2px);
}

.ecosystem-carousel {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: 22px 0 50px;
}

.ecosystem-track {
  --ecosystem-card-width: clamp(280px, 31vw, 430px);
  --ecosystem-card-gap: 24px;
  display: flex;
  gap: var(--ecosystem-card-gap);
  padding: 0;
  transform: translateX(var(--ecosystem-offset, 0px));
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

.eco-card {
  min-width: var(--ecosystem-card-width);
  height: 380px;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0.20), rgba(7, 17, 28, 0.94)),
    linear-gradient(135deg, var(--ink-light), #09123a 72%);
  box-shadow: 0 18px 45px rgba(9, 18, 58, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.eco-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(0, 20, 34, 0.94));
  pointer-events: none;
}

.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(9, 18, 58, 0.18);
}

.eco-card:hover::before {
  transform: none;
}

.eco-logo-wrap {
  position: absolute;
  top: 34px;
  left: 34px;
  right: 34px;
  min-height: 74px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.eco-logo-wrap img {
  width: auto;
  max-width: 210px;
  max-height: 70px;
  object-fit: contain;
}

.eco-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.12;
  color: var(--amber);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.eco-card p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
  max-width: 340px;
}

.eco-card .eco-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--duration) var(--ease-out), gap var(--duration) var(--ease-out);
  letter-spacing: 0.01em;
}

.eco-card:hover .eco-link {
  color: var(--amber-light);
  gap: 12px;
}

.eco-card .eco-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.ecosystem-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.ecosystem-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0A4A78;
  opacity: 1;
  transition: all var(--duration) var(--ease-out);
}

.ecosystem-dot.active {
  background: var(--amber);
}

@media (max-width: 900px) {
  .ecosystem {
    padding: 78px 0 90px;
  }

  .ecosystem-header {
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .ecosystem-track {
    --ecosystem-card-width: min(78vw, 420px);
    padding: 0 24px;
  }

  .eco-card {
    height: 400px;
    padding: 30px;
  }
}

@media (max-width: 620px) {
  .ecosystem-header {
    flex-direction: column;
    gap: 18px;
  }

  .ecosystem-controls {
    align-self: flex-end;
    padding-bottom: 0;
  }

  .ecosystem-arrow {
    width: 44px;
    height: 44px;
  }

  .ecosystem-carousel {
    margin-left: -24px;
    margin-right: -24px;
    padding-top: 16px;
  }

  .ecosystem-track {
    --ecosystem-card-width: calc(100vw - 48px);
    --ecosystem-card-gap: 16px;
  }

  .eco-card {
    height: 390px;
    border-radius: var(--radius);
  }

  .eco-card p {
    font-size: 0.96rem;
  }

  .eco-logo-wrap img {
    max-width: 190px;
  }
}

/* ===================================================================
   NUMBERS — Highlight
   =================================================================== */
.numbers-highlight {
  padding: 70px 0 76px;
  background: #09123a;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.numbers-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.numbers-header {
  text-align: center;
  margin-bottom: 54px;
  position: relative;
  z-index: 1;
}

.numbers-header .section-label {
  color: var(--amber);
  justify-content: center;
  margin-bottom: 8px;
}

.numbers-header .section-label::before {
  display: none;
}

.numbers-header .section-title {
  color: var(--white);
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.number-item {
  min-height: 150px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.number-value {
  color: var(--amber);
  font-size: clamp(3rem, 5vw, 4.3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.number-label {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .numbers-highlight {
    padding: 62px 0;
  }

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

@media (max-width: 520px) {
  .numbers-header {
    margin-bottom: 34px;
  }

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

/* ===================================================================
   VALUES — Editorial, Bold Numbers
   =================================================================== */
.values {
  padding: 118px 0;
  background:
    linear-gradient(90deg, rgba(232, 137, 43, 0.055), transparent 42%),
    var(--off-white);
  position: relative;
  overflow: hidden;
}

.values .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}

.values-header {
  max-width: 420px;
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--header-height) + 44px);
}

.values-header .section-label {
  margin-bottom: 18px;
}

.values-header .section-subtitle {
  max-width: 360px;
  padding-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.value-card {
  min-height: 260px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.value-card:first-child {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 22px 58px rgba(9, 18, 58, 0.16);
}

.value-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
}

.value-card:first-child::after {
  content: '';
  position: absolute;
  right: -90px;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(232, 137, 43, 0.16);
  pointer-events: none;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 137, 43, 0.32);
  box-shadow: 0 18px 44px rgba(9, 18, 58, 0.10);
}

.value-card:first-child:hover {
  box-shadow: 0 28px 64px rgba(9, 18, 58, 0.20);
}

.value-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-glow);
  color: var(--amber);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 34px;
  opacity: 1;
  letter-spacing: -0.03em;
}

.value-card:first-child .value-number {
  background: var(--amber);
  color: var(--white);
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.value-card:first-child h3 {
  color: var(--white);
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.value-card:first-child p {
  color: rgba(255, 255, 255, 0.66);
}

.value-card:last-child {
  background: linear-gradient(145deg, var(--white), #FFF8F0);
}

/* Old hover rules neutralized for the new card system */
.value-card::after {
  display: none;
}

.value-card:hover::after {
  display: none;
}

.value-card:hover h3,
.value-card:hover p {
  color: var(--text-primary);
}

.value-card:hover p {
  color: var(--text-secondary);
}

.value-card:first-child:hover h3 {
  color: var(--white);
}

.value-card:first-child:hover p {
  color: rgba(255, 255, 255, 0.66);
}

/* ===================================================================
   LEADERS — Authoritative, Dark
   =================================================================== */
.leaders {
  padding: var(--section-gap) 0;
  background: var(--ink);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.leaders::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--amber);
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.04;
  pointer-events: none;
}

.leaders-header {
  text-align: center;
  margin-bottom: 72px;
}

.leaders-header .section-label {
  color: var(--amber);
}

.leaders-header .section-title {
  color: var(--text-on-dark);
}

.leaders-header .section-subtitle {
  color: var(--text-on-dark-secondary);
  margin: 0 auto;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.founder-card {
  display: grid;
  grid-template-rows: 412px 1fr;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--ink-medium);
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 72px rgba(9, 18, 58, 0.24);
  transition: transform var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-light));
  z-index: 2;
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 137, 43, 0.28);
}

.founder-photo {
  height: 412px;
  background:
    radial-gradient(circle at 50% 20%, rgba(232, 137, 43, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.025);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.founder-photo img {
  width: min(100%, 430px);
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 45px rgba(9, 18, 58, 0.28));
}

.founder-content {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  padding: 34px 38px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.founder-kicker {
  display: inline-flex;
  min-height: 18px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.founder-content h3 {
  color: var(--text-on-dark);
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  min-height: 44px;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.founder-content p {
  color: var(--text-on-dark-secondary);
  font-size: 0.96rem;
  line-height: 1.72;
  max-width: 52ch;
}

/* ===================================================================
   PRESENCE — Clean, National
   =================================================================== */
.presence {
  padding: 118px 0;
  background:
    linear-gradient(180deg, var(--white), var(--off-white));
  position: relative;
  overflow: hidden;
}

.presence .container {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 58px;
  align-items: center;
}

.presence-content {
  max-width: 520px;
}

.presence-content .section-subtitle {
  margin-bottom: 0;
}

.presence-stats {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.presence-stat {
  padding: 24px 26px;
  flex: 1;
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.presence-stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.presence-stat-label {
  font-size: 0.80rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.presence-visual {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(240px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.presence-map-card {
  min-height: 520px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #09123a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 68px rgba(9, 18, 58, 0.18);
}

.presence-map-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

.presence-map {
  position: relative;
  z-index: 1;
  height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presence-map-stage {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 780 / 687;
}

.presence-map img {
  width: 100%;
  height: auto;
  opacity: 0.98;
}

.map-pin {
  --pin-size: 16px;
  position: absolute;
  width: var(--pin-size);
  height: var(--pin-size);
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 7px rgba(232, 137, 43, 0.22), 0 12px 26px rgba(9, 18, 58, 0.32);
  transform: translate(-50%, -50%);
}

.map-pin::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(232, 137, 43, 0.48);
}

.pin-saoluis { left: 68.43%; top: 22.44%; }
.pin-fortaleza { left: 80.40%; top: 25.27%; }
.pin-natal { left: 87.28%; top: 30.12%; }
.pin-goiania { left: 58.14%; top: 55.76%; }
.pin-saopaulo { left: 63.59%; top: 71.91%; }

.presence-map-caption {
  position: relative;
  z-index: 1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-secondary);
}

.presence-map-caption strong {
  display: block;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.presence-map-caption span {
  font-size: 0.88rem;
}

.presence-offices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.office-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease-out);
  background: var(--warm-gray-50);
}

.office-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateX(-4px);
}

.office-card:hover h4 {
  color: var(--text-on-dark);
}

.office-card:hover p {
  color: var(--text-on-dark-secondary);
}

.office-card:hover .office-dot {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(232, 137, 43, 0.16);
}

.office-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px var(--amber-soft);
  transition: all var(--duration) var(--ease-out);
}

.office-card h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
  transition: color var(--duration) var(--ease-out);
}

.office-card p {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  transition: color var(--duration) var(--ease-out);
}

/* ===================================================================
   CLIENTS — Marquee
   =================================================================== */
.clients {
  padding: 110px 0;
  background: var(--off-white);
  border-top: 1px solid var(--warm-gray-100);
  border-bottom: 1px solid var(--warm-gray-100);
}

.clients-header {
  text-align: center;
  margin-bottom: 56px;
}

.clients-header .section-subtitle {
  margin: 0 auto;
}

.clients-marquee {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--off-white), transparent);
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--off-white), transparent);
}

.clients-track {
  display: flex;
  gap: 28px;
  animation: scroll-marquee 55s linear infinite;
  width: max-content;
}

.client-logo {
  width: 190px;
  height: 92px;
  padding: 18px 26px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--warm-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease-out);
}

.client-logo img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  opacity: 1;
  transition: transform var(--duration) var(--ease-out);
}

.client-logo:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
}

.client-logo:hover img {
  transform: scale(1.04);
}

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

/* ===================================================================
   CTA — Bold, Confident
   =================================================================== */
.cta {
  padding: var(--section-gap) 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -250px;
  right: -250px;
  width: 700px;
  height: 700px;
  background: var(--amber);
  border-radius: 50%;
  filter: blur(220px);
  opacity: 0.055;
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: var(--amber-deep);
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.04;
  pointer-events: none;
}

.cta .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta .section-label {
  color: var(--amber);
  justify-content: center;
}

.cta h2 {
  color: var(--text-on-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.cta .section-subtitle {
  color: var(--text-on-dark-secondary);
  margin: 0 auto 44px;
  max-width: 520px;
}

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

.cta-contact-info {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-on-dark-secondary);
  font-size: 0.86rem;
  flex: 1;
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--duration) var(--ease-out);
}

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

.cta-contact-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-on-dark);
}

.cta-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
  flex-shrink: 0;
}

/* ===================================================================
   FOOTER — Clean, Professional
   =================================================================== */
.footer {
  background: #09123a;
  padding: 80px 0 32px;
  color: var(--text-on-dark-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-brand .logo {
  margin-bottom: 18px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.75;
  max-width: 270px;
  color: var(--text-on-dark-secondary);
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  font-weight: 700;
}

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

.footer-col ul a {
  color: var(--text-on-dark-secondary);
  font-size: 0.86rem;
  transition: color var(--duration) var(--ease-out);
}

.footer-col ul a:hover {
  color: var(--amber-light);
}

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

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease-out);
}

.footer-social:hover {
  background: var(--amber);
  border-color: var(--amber);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.40);
}

.footer-social:hover svg {
  color: var(--white);
}

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1100px) {
  :root {
    --section-gap: 110px;
  }

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

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

  .about .container,
  .presence .container {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .presence-content {
    max-width: 720px;
  }

  .presence-visual {
    grid-template-columns: minmax(280px, 0.9fr) minmax(240px, 0.8fr);
  }

  .values .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .values-header {
    position: static;
    max-width: 720px;
    margin-bottom: 0;
  }

  .values-header .section-subtitle {
    max-width: 540px;
  }

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

@media (max-width: 900px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat-item:nth-child(2) {
    border-right: none;
  }

  .hero-stat-item:nth-child(1),
  .hero-stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

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

  .value-card {
    border: 1px solid var(--warm-gray-100);
  }

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

@media (max-width: 768px) {
  :root {
    --section-gap: 90px;
  }

  .container {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 18, 58, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.2rem;
    color: var(--text-on-dark);
  }

  .menu-toggle {
    display: flex;
  }

  .hero .container {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

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

  .hero-stat-item {
    padding: 24px 20px;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

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

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

  .value-card {
    min-height: 220px;
    border: 1px solid var(--warm-gray-100);
  }

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

  .founder-card {
    min-height: 0;
  }

  .founder-photo {
    height: 340px;
  }

  .founder-content {
    padding: 28px;
  }

  .presence-stats {
    flex-direction: column;
  }

  .presence-visual {
    grid-template-columns: 1fr;
  }

  .presence-map-card {
    min-height: 440px;
  }

  .presence-map {
    height: 330px;
  }

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

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

  .cta-contact-info {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .cta-contact-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

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

  .presence {
    padding: 82px 0;
  }

  .presence-map-card {
    min-height: 390px;
    padding: 22px;
  }

  .presence-map {
    height: 290px;
  }

  .presence-stats {
    gap: 10px;
  }

  .presence-stat {
    padding: 22px;
  }

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

  .hero-stat-number {
    font-size: 1.8rem;
  }
}
