/* =========================================================
   CUBIKA — LANDING PAGE
   Identidad: azul profundo + verde operacional
   ========================================================= */

:root {
  --blue-950: #071D35;
  --blue-900: #0B2B4B;
  --blue-800: #0B2F5B;
  --blue-700: #144190;
  --blue-500: #3D8EDB;

  --green-600: #236D0C;
  --green-500: #42C12E;
  --green-400: #57C221;
  --green-100: #D7F3EA;

  --text: #0B2F5B;
  --text-soft: #4A5D73;
  --text-muted: #68788C;

  --surface: #FFFFFF;
  --surface-soft: #F7F9FC;
  --surface-blue: #F1F6FC;
  --border: rgba(11, 47, 91, .10);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 8px 24px rgba(7, 29, 53, .05);
  --shadow-md: 0 18px 45px rgba(7, 29, 53, .09);
  --shadow-lg: 0 28px 70px rgba(7, 29, 53, .12);

  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.section-container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green-500);
  font-size: .72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 62px;
  text-align: center;
}

.section-header.compact {
  margin-bottom: 52px;
}

.section-header h2,
.problem-copy h2,
.growth-copy h2,
.custom-copy h2,
.cta-container h2 {
  margin: 0;
  color: var(--blue-800);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -.8px;
}

.section-header h2 span,
.problem-copy h2 span,
.growth-copy h2 span,
.custom-copy h2 span,
.cta-container h2 span {
  color: var(--green-500);
}

.section-header p {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}


/* =========================================================
   HEADER
   ========================================================= */

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(11, 47, 91, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: headerAppear .45s ease-out both;
}

.header-container {
  width: min(calc(100% - 48px), 1200px);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.header-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.header-logo img {
  width: auto;
  height: 62px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
}

.header-nav a {
  position: relative;
  color: #0A2540;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--green-500);
  transform: translateX(-50%);
  transition: width .25s ease;
}

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

.btn-login,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.btn-login {
  background: var(--blue-900);
  color: #fff;
  font-size: 14px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 43, 75, .18);
}

.btn-primary {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 10px 24px rgba(66, 193, 46, .18);
}

.btn-primary:hover {
  background: #35AB27;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(66, 193, 46, .25);
}

.btn-secondary {
  color: var(--blue-900);
  background: transparent;
  border: 1.5px solid var(--blue-900);
}

.btn-secondary:hover {
  background: var(--blue-900);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary.light {
  color: #fff;
  border-color: rgba(255,255,255,.55);
}

.btn-secondary.light:hover {
  color: var(--blue-900);
  background: #fff;
  border-color: #fff;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 10px;
  background: var(--blue-900);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 30%, #EAF2FF 0%, #fff 55%),
    #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('./img/imagen-hero12.png') no-repeat;
  background-position: calc(50% + 240px) center;
  background-size: auto 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.96) 32%,
      rgba(255,255,255,.55) 53%,
      rgba(255,255,255,0) 76%
    );
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-one {
  width: 520px;
  height: 520px;
  top: -280px;
  right: -160px;
  background: rgba(87, 194, 33, .10);
}

.hero-glow-two {
  width: 420px;
  height: 420px;
  bottom: -250px;
  left: -180px;
  background: rgba(20, 65, 144, .08);
}

.hero-container {
  position: relative;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 570px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-text {
  width: min(600px, 52%);
  padding: 55px 0;
}

.hero-text h1 {
  max-width: 640px;
  margin: 0 0 24px;
  color: var(--blue-900);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 750;
}

.hero-text h1 span {
  color: var(--green-500);
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-note {
  max-width: 540px;
  margin: 0 0 34px;
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* =========================================================
   PROBLEM
   ========================================================= */

.problem-section {
  padding: 105px 0;
  background: var(--surface-soft);
}

.problem-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.problem-copy {
  max-width: 520px;
}

.problem-copy h2 {
  margin-bottom: 24px;
}

.problem-copy p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.75;
}

.problem-visual {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-core {
  position: relative;
  z-index: 3;
  width: 250px;
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(11, 47, 91, .09);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.problem-core img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 8px;
}

.problem-core strong {
  color: var(--blue-900);
  font-size: 1.5rem;
}

.problem-core span {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.floating-data {
  position: absolute;
  z-index: 4;
  min-width: 145px;
  padding: 14px 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--green-100);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.floating-data strong {
  display: block;
  color: var(--blue-900);
  font-size: .88rem;
}

.floating-data span {
  color: var(--text-muted);
  font-size: .75rem;
}

.data-one {
  top: 22px;
  left: 8%;
}

.data-two {
  top: 46%;
  right: 0;
}

.data-three {
  bottom: 20px;
  left: 15%;
}


/* =========================================================
   PLATFORM
   ========================================================= */

.platform-section {
  padding: 110px 0 100px;
  background: #fff;
}

.platform-model {
  position: relative;
  min-height: 640px;
margin-top: 2px;
  display: grid;
  place-items: center;
}

.platform-center {
  position: relative;
  z-index: 3;
  width: min(320px, 90%);
  transform: translateY(-70px);
  padding: 10px;
  text-align: center;
  background: #fff;
  border: 2px solid var(--green-100);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.platform-logo-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.platform-center h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: var(--blue-900);
}

.platform-center p {
  max-width: 270px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: .94rem;
  line-height: 1.6;
}

.platform-branches {
  position: absolute;
  inset: 0;
}

.platform-node {
  position: absolute;
  width: 250px;
  padding: 25px;
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.platform-node::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 160px;
  height: 1px;
  top: 50%;
  background: var(--green-100);
}

.platform-node:nth-child(1) {
  top: 20px;
  left: 3%;
}

.platform-node:nth-child(1)::before {
  right: -160px;
  transform: rotate(28deg);
  transform-origin: right;
}

.platform-node:nth-child(2) {
  right: 3%;
  top: 20px;
}

.platform-node:nth-child(2)::before {
  left: -160px;
  transform: rotate(-28deg);
  transform-origin: left;
}

.platform-node:nth-child(3) {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.platform-node:nth-child(3)::before {
  display: none;
}

.node-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  background: #fff;
  border: 1px solid var(--green-100);
  border-radius: 50%;
}

.node-icon svg {
  width: 32px;
  height: 32px;
}

.node-label,
.solution-tag {
  color: var(--green-500);
  font-size: .67rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.platform-node h4 {
  margin: 10px 0 7px;
  color: var(--blue-900);
  font-size: 1.05rem;
}

.platform-node p {
  margin: 0;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.platform-statement {
  max-width: 900px;
  margin: 12px auto 0;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface-blue);
  border: 1px solid rgba(20, 65, 144, .07);
  border-radius: 16px;
}

.statement-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  font-weight: 800;
}

.platform-statement strong {
  color: var(--blue-900);
  font-size: .95rem;
}

.platform-statement p {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: .87rem;
  line-height: 1.5;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-it-works {
  padding: 105px 0 115px;
  background: var(--surface-soft);
}

.cubika-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.flow-line {
  position: absolute;
  z-index: 0;
  top: 72px;
  left: 11%;
  width: 78%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--blue-800));
  opacity: .9;
}

.flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.flow-circle {
  width: 145px;
  height: 145px;
  margin: 0 auto 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 3px solid var(--green-100);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.flow-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-number {
  display: block;
  margin-bottom: 8px;
  color: var(--green-500);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.flow-step h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1.35rem;
}

.flow-step p {
  max-width: 230px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.6;
}


/* =========================================================
   SOLUTIONS
   ========================================================= */

.solutions-section {
  padding: 110px 0 120px;
  background:
    radial-gradient(circle at 15% 20%, #EAF2FF 0%, #fff 45%),
    #fff;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.solution-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 70px;
  min-height: 300px;
  padding: 34px 44px;
  background: linear-gradient(135deg, #fff 0%, #F8FBFF 100%);
  border: 1px solid rgba(11,47,91,.08);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.solution-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.solution-row::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 50%;
  width: 1px;
  background: rgba(11,47,91,.08);
}

.solution-visual,
.solution-content {
  flex: 1;
  min-width: 0;
}

.solution-visual {
  display: flex;
  justify-content: center;
}

.solution-visual img {
  width: min(310px, 100%);
  height: 220px;
  object-fit: contain;
}

.solution-content {
  position: relative;
  padding-left: 24px;
}

.solution-content::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 4px;
  height: 58px;
  border-radius: 10px;
  background: var(--green-500);
}

.solution-content h3 {
  margin: 10px 0 8px;
  color: var(--blue-900);
  font-size: 2rem;
  line-height: 1.15;
}

.solution-content h4 {
  margin: 0 0 16px;
  color: #2D4366;
  font-size: .98rem;
  font-weight: 650;
}

.solution-content p {
  max-width: 500px;
  margin: 0;
  color: var(--text-soft);
  font-size: .96rem;
  line-height: 1.75;
}


/* =========================================================
   GROWTH
   ========================================================= */

.growth-section {
  padding: 115px 0;
  background: var(--surface-soft);
}

.growth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.growth-copy {
  max-width: 540px;
}

.growth-copy h2 {
  margin-bottom: 22px;
}

.growth-copy p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.growth-copy .growth-lead {
  color: var(--blue-900);
  font-size: 1.16rem;
  font-weight: 650;
}

.growth-points {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 28px;
}

.growth-points > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.growth-points strong {
  color: var(--green-500);
  font-size: .74rem;
  letter-spacing: 1px;
}

.growth-points span {
  color: var(--text-soft);
  font-size: .87rem;
  line-height: 1.45;
}

.growth-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.growth-orbit {
  position: absolute;
  border: 1px solid var(--green-100);
  border-radius: 50%;
}

.orbit-one {
  width: 360px;
  height: 360px;
}

.orbit-two {
  width: 245px;
  height: 245px;
  border-color: rgba(20, 65, 144, .12);
  transform: rotate(45deg) scaleX(1.3);
}

.growth-cube {
  position: relative;
  z-index: 3;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--green-100);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.growth-cube img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.growth-chip {
  position: absolute;
  z-index: 4;
  padding: 9px 14px;
  color: var(--blue-900);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: .74rem;
  font-weight: 700;
}

.chip-one { top: 42px; left: 20%; }
.chip-two { top: 45%; right: 2%; }
.chip-three { bottom: 42px; left: 24%; }
.chip-four { top: 20%; right: 18%; }


/* =========================================================
   CUSTOM
   ========================================================= */

.custom-section {
  padding: 105px 0;
  background: #fff;
}

.custom-card {
  position: relative;
  min-height: 450px;
  padding: 65px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(87,194,33,.10), transparent 35%),
    linear-gradient(135deg, #0B2F5B, #071D35);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.custom-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
}

.custom-copy h2 {
  margin-bottom: 22px;
  color: #fff;
}

.custom-copy h2 span {
  color: #67E13D;
}

.custom-copy p {
  max-width: 570px;
  margin: 0 0 15px;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
  line-height: 1.75;
}

.custom-copy .custom-emphasis {
  margin-top: 24px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.custom-visual {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.custom-grid {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, 52px);
  gap: 14px;
  opacity: .85;
}

.custom-grid span {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
}

.custom-grid span.active {
  background: rgba(66,193,46,.2);
  border-color: rgba(103,225,61,.65);
}

.custom-center {
  position: relative;
  z-index: 2;
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.97);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.custom-center img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}


/* =========================================================
   WHY
   ========================================================= */

.why-section {
  padding: 100px 0 115px;
  background: var(--surface-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  padding: 26px 20px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(11,47,91,.06);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1.08rem;
}

.why-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: .87rem;
  line-height: 1.6;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  isolation: isolate;
  background: var(--blue-900);
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(30px);
}

.cta-section::before {
  width: 420px;
  height: 420px;
  top: -250px;
  right: -100px;
  background: rgba(87,194,33,.18);
}

.cta-section::after {
  width: 360px;
  height: 360px;
  bottom: -260px;
  left: -100px;
  background: rgba(61,142,219,.16);
}

.cta-container {
  text-align: center;
}

.cta-container .eyebrow {
  color: #67E13D;
}

.cta-container h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
}

.cta-container h2 span {
  color: #67E13D;
}

.cta-container p {
  max-width: 640px;
  margin: 22px auto 30px;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
  line-height: 1.7;
}

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


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  width: 100%;
  background: #07111F;
  color: #fff;
}

.footer-inner {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  width: auto;
  height: 54px;
  flex-shrink: 0;
}

.footer-tagline {
  color: #AEB8C6;
  font-size: .78rem;
  line-height: 1.55;
}

.footer-tagline b {
  color: #fff;
}

.footer-center a,
.footer-right a {
  color: #BFC8D5;
  text-decoration: none;
  font-size: .78rem;
}

.footer-center a:hover,
.footer-right a:hover {
  color: #fff;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-bottom {
  padding: 13px 24px;
  text-align: center;
  color: #7F8998;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .68rem;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes headerAppear {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .header-nav {
    gap: 22px;
  }

  .hero-bg {
    background-position: calc(50% + 330px) center;
    opacity: .82;
  }

  .hero-text {
    width: 62%;
  }

  .platform-model {
    min-height: 760px;
  }

  .platform-node:nth-child(1) {
    left: 0;
  }

  .platform-node:nth-child(2) {
    right: 0;
  }

  .platform-node:nth-child(3) {
    bottom: 20px;
  }

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

  .growth-grid {
    gap: 45px;
  }

  .custom-card {
    padding: 48px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .section-container,
  .header-container,
  .footer-inner {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .main-header {
    position: sticky;
  }

  .header-container {
    min-height: 68px;
  }

  .header-logo img {
    height: 48px;
  }

  .header-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: none;
    padding: 8px 18px 20px;
    background: rgba(255,255,255,.98);
    border-top: 1px solid rgba(11,47,91,.05);
    box-shadow: 0 15px 25px rgba(7,29,53,.06);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu a {
    display: block;
    padding: 13px 0;
    color: var(--blue-900);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 650;
    border-bottom: 1px solid rgba(11,47,91,.06);
  }

  .mobile-menu .mobile-login {
    margin-top: 12px;
    padding: 13px;
    color: #fff;
    text-align: center;
    background: var(--blue-900);
    border: 0;
    border-radius: 8px;
  }

  .hero {
    min-height: auto;
    background:
      radial-gradient(circle at 10% 20%, #EAF2FF 0%, #fff 70%);
  }

  .hero-bg {
    position: relative;
    inset: auto;
    height: 230px;
    margin-top: 15px;
    background-image: url('./img/imagen-hero10.png');
    background-position: center;
    background-size: contain;
    opacity: 1;
  }

  .hero::after {
    display: none;
  }

  .hero-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-text {
    width: 100%;
    padding: 58px 0 25px;
    text-align: center;
    order: -1;
  }

  .hero-text h1 {
    margin-bottom: 20px;
    font-size: clamp(2.35rem, 10vw, 3.1rem);
    letter-spacing: -1.3px;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero-note {
    margin-left: auto;
    margin-right: auto;
    font-size: .9rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    max-width: 330px;
    margin: 0 auto;
  }

  .problem-section,
  .platform-section,
  .how-it-works,
  .solutions-section,
  .growth-section,
  .custom-section,
  .why-section,
  .cta-section {
    padding: 78px 0;
  }

  .problem-grid,
  .growth-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .problem-copy,
  .growth-copy {
    max-width: none;
    text-align: center;
  }

  .problem-copy h2 {
    margin-bottom: 18px;
  }

  .problem-visual {
    min-height: 320px;
  }

  .floating-data {
    min-width: 125px;
    padding: 11px 13px;
  }

  .data-one {
    left: 0;
  }

  .data-two {
    right: 0;
  }

  .data-three {
    left: 4%;
    bottom: 8px;
  }

  .platform-model {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .platform-center {
    width: min(100%, 340px);
    transform: none;
  }

  .platform-branches {
    position: static;
    display: grid;
    gap: 18px;
  }

  .platform-node,
  .platform-node:nth-child(1),
  .platform-node:nth-child(2),
  .platform-node:nth-child(3) {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .platform-node::before {
    display: none;
  }

  .platform-statement {
    margin-top: 30px;
    padding: 18px;
  }

  .cubika-flow {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .flow-line {
    display: none;
  }

  .flow-circle {
    width: 125px;
    height: 125px;
  }

  .solution-row,
  .solution-row.reverse {
    flex-direction: column;
    gap: 15px;
    min-height: auto;
    padding: 32px 24px;
  }

  .solution-row::after {
    display: none;
  }

  .solution-visual img {
    width: 210px;
    height: 165px;
  }

  .solution-content {
    width: 100%;
    padding-left: 18px;
    text-align: left;
  }

  .solution-content h3 {
    font-size: 1.65rem;
  }

  .growth-visual {
    min-height: 330px;
    order: 2;
  }

  .orbit-one {
    width: 280px;
    height: 280px;
  }

  .growth-cube {
    width: 150px;
    height: 150px;
  }

  .growth-cube img {
    width: 95px;
    height: 95px;
  }

  .chip-one { top: 20px; left: 5%; }
  .chip-two { top: 42%; right: 0; }
  .chip-three { bottom: 20px; left: 10%; }
  .chip-four { top: 15%; right: 8%; }

  .custom-card {
    grid-template-columns: 1fr;
    padding: 42px 28px;
    gap: 20px;
    text-align: center;
  }

  .custom-copy {
    max-width: none;
  }

  .custom-visual {
    min-height: 250px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why-icon {
    width: 130px;
    height: 130px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 22px;
    padding: 30px 0;
  }

  .footer-left {
    flex-direction: column;
  }

  .footer-right {
    justify-content: center;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

  .section-container,
  .header-container,
  .footer-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero-text {
    padding-top: 45px;
  }

  .hero-bg {
    height: 195px;
  }

  .section-header {
    margin-bottom: 42px;
  }

  .section-header h2,
  .problem-copy h2,
  .growth-copy h2,
  .custom-copy h2,
  .cta-container h2 {
    font-size: 2rem;
  }

  .problem-visual {
    min-height: 285px;
  }

  .problem-core {
    width: 205px;
    min-height: 190px;
  }

  .problem-core img {
    width: 75px;
    height: 75px;
  }

  .floating-data {
    min-width: 105px;
    padding: 9px 11px;
  }

  .floating-data strong {
    font-size: .76rem;
  }

  .floating-data span {
    font-size: .67rem;
  }

  .data-one {
    top: 10px;
  }

  .data-two {
    top: 45%;
  }

  .data-three {
    bottom: 0;
  }

  .solution-row {
    padding: 27px 19px;
  }

  .custom-card {
    padding: 36px 21px;
  }

  .custom-grid {
    grid-template-columns: repeat(3, 43px);
    gap: 10px;
  }

  .custom-grid span {
    width: 43px;
    height: 43px;
  }

  .custom-center {
    width: 125px;
    height: 125px;
  }

  .custom-center img {
    width: 85px;
    height: 85px;
  }
}
