:root {
  --blue-primary: #05345B;
  --blue-dark: #0D1B2A;
  --blue-mid: #0a4a7a;
  --green-strategic: #36B37E;
  --green-alt: #2E7D32;
  --green-glow: rgba(54, 179, 126, 0.35);
  --gray-light: #F2F4F7;
  --white: #FFFFFF;
  --text-primary: #1a1a1a;
  --text-secondary: #4A4A4A;
  --text-muted: #6B7280;
  --border: rgba(5, 52, 91, 0.08);
  --border-strong: rgba(5, 52, 91, 0.14);
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.04), 0 4px 12px rgba(13, 27, 42, 0.04);
  --shadow-md: 0 8px 32px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(13, 27, 42, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --header-height: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --section-space: clamp(5rem, 9vw, 7.5rem);
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.75rem, 3.5vw, 2.5rem);
  --text-hero: clamp(2.25rem, 5vw, 3.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(54, 179, 126, 0.2);
  color: var(--blue-dark);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* ── Typography ── */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-strategic);
  margin-bottom: 1.125rem;
}

.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--green-strategic);
  border-radius: 1px;
}

.section-label--light {
  color: var(--green-strategic);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue-primary);
  letter-spacing: -0.03em;
}

.section-title--light {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
  color: var(--text-secondary);
  max-width: 36rem;
  margin-top: 1.125rem;
  line-height: 1.7;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.68);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-inline: auto;
}

/* ── Buttons (Emil-style motion) ── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn-primary {
  background: var(--green-strategic);
  color: var(--white);
  border-color: var(--green-strategic);
  box-shadow: 0 1px 2px rgba(54, 179, 126, 0.2), 0 4px 16px rgba(54, 179, 126, 0.18);
}

.btn-primary:hover {
  background: #2da06c;
  border-color: #2da06c;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(54, 179, 126, 0.2), 0 12px 28px rgba(54, 179, 126, 0.28);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

/* ── Header ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: -0.02em;
  color: var(--blue-primary);
  transition: opacity 0.3s var(--ease-out);
}

.logo:hover {
  opacity: 0.8;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-spring);
}

.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.05);
}

.logo-tagline {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 0.875rem;
  right: 0.875rem;
  height: 1.5px;
  background: var(--green-strategic);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--gray-light);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 1px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(54, 179, 126, 0.12), transparent),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(5, 52, 91, 0.6), transparent),
    linear-gradient(155deg, var(--blue-dark) 0%, var(--blue-primary) 50%, var(--blue-mid) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orb-float 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 480px;
  height: 480px;
  background: rgba(54, 179, 126, 0.14);
  top: -120px;
  right: -80px;
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  background: rgba(5, 52, 91, 0.45);
  bottom: -120px;
  left: -80px;
  animation-delay: -6s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -16px) scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6rem);
  max-width: 44rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  margin-bottom: 1.75rem;
  background: rgba(54, 179, 126, 0.1);
  border: 1px solid rgba(54, 179, 126, 0.22);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-strategic);
  opacity: 0;
  transform: translateY(12px);
  animation: hero-enter 0.8s var(--ease-out) 0.1s forwards;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-strategic);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.9s var(--ease-out) 0.15s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--green-strategic);
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, 1.1875rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
  max-width: 38rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.9s var(--ease-out) 0.35s forwards;
}

.hero-newsletter {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2.25rem;
  max-width: 34rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.9s var(--ease-out) 0.45s forwards;
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.9s var(--ease-out) 0.55s forwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.9s var(--ease-out) 0.7s forwards;
}

.hero-stat-value {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green-strategic);
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 0.375rem;
  letter-spacing: 0.01em;
}

/* ── Problem ── */

.problem-section {
  padding: var(--section-space) 0;
  background: var(--gray-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.problem-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(54, 179, 126, 0.3), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  z-index: -1;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-primary);
  margin-bottom: 0.875rem;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.problem-highlight {
  border-left: 2px solid var(--green-strategic);
  padding-left: 1.125rem;
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.6;
  color: var(--blue-primary);
}

/* ── Newsletter ── */

.newsletter-section {
  padding: var(--section-space) 0;
}

.newsletter-box {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(54, 179, 126, 0.14), transparent),
    linear-gradient(155deg, var(--blue-dark), var(--blue-primary));
  border-radius: var(--radius-lg);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--green-strategic);
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1.25rem;
}

.newsletter-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.section-subtitle strong {
  color: var(--blue-primary);
  font-weight: 700;
}

/* ── DataPYMEs ── */

.datapymes-section {
  padding: var(--section-space) 0;
}

.datapymes-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  position: relative;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--border);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    background 0.45s var(--ease-out);
}

.pillar-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  transition: transform 0.5s var(--ease-spring);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08);
}

.pillar-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-primary);
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.pillar-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Gimnasia Financiera ── */

.gimnasia-section {
  padding: var(--section-space) 0;
  background: var(--gray-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gimnasia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.gimnasia-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green-strategic);
  margin-bottom: 0.5rem;
}

.gimnasia-badge {
  display: inline-flex;
  padding: 0.25rem 0.625rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green-strategic);
  border-radius: 100px;
}

.gimnasia-sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.gimnasia-conviction {
  margin-bottom: 1.75rem;
}

.gimnasia-conviction p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.gimnasia-conviction-highlight {
  padding-left: 1rem;
  border-left: 2px solid var(--green-strategic);
  font-weight: 600;
  color: var(--blue-primary) !important;
}

.gimnasia-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.philosophy-grid {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.philosophy-item {
  padding: 1.25rem 1.375rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.philosophy-item:hover {
  transform: translateX(4px);
  border-color: rgba(54, 179, 126, 0.25);
  box-shadow: var(--shadow-sm);
}

.philosophy-item--highlight {
  background: var(--blue-primary);
  border-color: transparent;
}

.philosophy-item--highlight:hover {
  border-color: rgba(54, 179, 126, 0.4);
  box-shadow: var(--shadow-md);
}

.philosophy-not {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.375rem;
}

.philosophy-item--highlight .philosophy-not {
  color: rgba(255, 255, 255, 0.5);
}

.philosophy-yes {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue-primary);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.philosophy-item--highlight .philosophy-yes {
  color: var(--white);
}

@media (max-width: 900px) {
  .gimnasia-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ── Flow ── */

.flow-section {
  padding: var(--section-space) 0;
  background: var(--blue-dark);
  color: var(--white);
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.375rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  min-width: 130px;
  transition:
    transform 0.45s var(--ease-out),
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}

.flow-node:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(54, 179, 126, 0.3);
}

.flow-node-circle,
.flow-node-square {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--green-strategic);
  transition: transform 0.5s var(--ease-spring);
}

.flow-node:hover .flow-node-circle,
.flow-node:hover .flow-node-square {
  transform: scale(1.08);
}

.flow-node-circle {
  border-radius: 50%;
  border: 1.5px solid var(--green-strategic);
}

.flow-node-square {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--green-strategic);
  background: rgba(54, 179, 126, 0.12);
}

.flow-node-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
}

.flow-arrow {
  color: var(--green-strategic);
  font-size: 1.25rem;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}

.flow-diagram:hover .flow-arrow {
  opacity: 0.8;
}

.flow-tagline {
  text-align: center;
  margin-top: 2.5rem;
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.flow-tagline strong {
  color: var(--green-strategic);
  font-weight: 600;
}

/* ── Differentiator ── */

.diff-section {
  padding: var(--section-space) 0;
  background: var(--gray-light);
}

.diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.diff-item {
  display: flex;
  gap: 0.875rem;
  padding: 1.375rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.diff-item:hover {
  transform: translateX(4px);
  border-color: rgba(54, 179, 126, 0.25);
  box-shadow: var(--shadow-sm);
}

.diff-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(54, 179, 126, 0.1);
  color: var(--green-strategic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-top: 3px;
  transition: transform 0.4s var(--ease-spring);
}

.diff-item:hover .diff-check {
  transform: scale(1.15);
}

.diff-item p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.diff-item strong {
  color: var(--blue-primary);
  font-weight: 600;
}

/* ── About ── */

.about-section {
  padding: var(--section-space) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: min(280px, 35%) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-avatar {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 280px;
  border-radius: var(--radius-lg);
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-avatar:hover {
  transform: scale(1.02);
}

.about-avatar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-strategic);
}

.about-role {
  font-size: var(--text-sm);
  color: var(--green-strategic);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.about-tag {
  padding: 0.375rem 0.8125rem;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--blue-primary);
  transition:
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.about-tag:hover {
  background: var(--white);
  border-color: rgba(54, 179, 126, 0.3);
  transform: translateY(-2px);
}

/* ── Ecosystem ── */

.ecosystem-section {
  padding: var(--section-space) 0;
  background: var(--gray-light);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 36rem;
  margin-inline: auto;
}

.eco-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.eco-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(54, 179, 126, 0.15), transparent),
    linear-gradient(145deg, var(--blue-primary), var(--blue-dark));
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.eco-card.featured:hover {
  border-color: rgba(54, 179, 126, 0.3);
  box-shadow: 0 20px 60px rgba(5, 52, 91, 0.35);
}

.eco-card.featured .eco-desc,
.eco-card.featured .eco-type {
  color: rgba(255, 255, 255, 0.65);
}

.eco-card.featured .eco-title {
  color: var(--white);
}

.eco-card.featured-alt {
  grid-column: span 2;
  background:
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(54, 179, 126, 0.18), transparent),
    linear-gradient(145deg, #0a3d5c, var(--blue-dark));
  color: var(--white);
  border: 1px solid rgba(54, 179, 126, 0.2);
}

.eco-card.featured-alt:hover {
  border-color: rgba(54, 179, 126, 0.45);
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.4);
}

.eco-card.featured-alt .eco-desc,
.eco-card.featured-alt .eco-type {
  color: rgba(255, 255, 255, 0.65);
}

.eco-card.featured-alt .eco-title {
  color: var(--white);
}

.eco-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.eco-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-spring);
}

.eco-card:hover .eco-icon {
  transform: rotate(-4deg) scale(1.06);
}

.eco-type {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-strategic);
}

.eco-title {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-primary);
}

.eco-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.375rem;
}

.eco-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-strategic);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.35s var(--ease-out), color 0.3s;
}

.eco-link::after {
  content: "→";
  transition: transform 0.35s var(--ease-out);
}

.eco-link:hover {
  gap: 0.5rem;
}

.eco-link:hover::after {
  transform: translateX(3px);
}

/* ── Ideas ── */

.ideas-section {
  padding: var(--section-space) 0;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}

.idea-card {
  padding: 1.375rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  border: 1px solid transparent;
  border-left: 2px solid var(--green-strategic);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  transition:
    transform 0.4s var(--ease-out),
    background 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.idea-card:hover {
  transform: translateY(-3px);
  background: var(--white);
  border-color: var(--border);
  border-left-color: var(--green-strategic);
  box-shadow: var(--shadow-sm);
}

.idea-number {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--green-strategic);
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

/* ── Quotes ── */

.quotes-section {
  padding: 3.5rem 0;
  background: var(--blue-primary);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.quotes-section::before,
.quotes-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}

.quotes-section::before {
  left: 0;
  background: linear-gradient(to right, var(--blue-primary), transparent);
}

.quotes-section::after {
  right: 0;
  background: linear-gradient(to left, var(--blue-primary), transparent);
}

.quotes-track {
  display: flex;
  gap: 1rem;
  animation: scroll 50s linear infinite;
  width: max-content;
}

.quotes-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.quote-item {
  flex-shrink: 0;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s;
}

.quote-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(54, 179, 126, 0.3);
}

/* ── CTA ── */

.cta-section {
  padding: var(--section-space) 0;
  text-align: center;
}

.cta-box {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(54, 179, 126, 0.12), transparent),
    linear-gradient(155deg, var(--blue-dark), var(--blue-primary));
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.62);
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

/* ── Footer ── */

.footer {
  padding: 3.5rem 0 2rem;
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: var(--text-sm);
  margin-top: 1.25rem;
  max-width: 22rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.125rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: var(--text-sm);
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--green-strategic);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
}

.footer-mission {
  color: var(--green-strategic);
  font-weight: 600;
}

/* ── Scroll animations ── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
.stagger > .reveal:nth-child(7) { transition-delay: 480ms; }
.stagger > .reveal:nth-child(8) { transition-delay: 560ms; }

/* ── Responsive ── */

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s var(--ease-out), opacity 0.35s var(--ease-out);
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav .btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .diff-list {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-avatar {
    max-width: 220px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .eco-card.featured,
  .eco-card.featured-alt {
    grid-column: span 1;
  }

  .ideas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 500px) {
  .ideas-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .quotes-track {
    animation: none;
  }
}
