:root {
  --cream: #f5f3ef;
  --gray: #737373;
  --black: #000000;
  --dark: #323231;
  --border: rgba(50, 50, 49, .4);
  /* DARK MODE (default) */
  --bg: #1c1c1b;
  --bg2: #282826;
  --card: #232322;
  --text: var(--cream);
  --text2: rgba(245, 243, 239, .55);
  --text3: rgba(245, 243, 239, .35);
  --nav-bg: rgba(28, 28, 27, .96);
  --meth-bg: var(--cream);
  --meth-text: var(--black);
  --meth-text2: rgba(50, 50, 49, .6);
  --meth-border: rgba(0, 0, 0, .09);
  --cta-bg: var(--cream);
  --cta-text: var(--black);
  --stroke-color: var(--cream);
}

/* ── CP ACCENT COLOR (adapts to theme) ─── */
:root {
  --cp-accent: var(--text);
  --cp-accent-rgb: 245, 243, 239;
}

body.light-mode {
  --cp-accent: var(--dark);
  --cp-accent-rgb: 50, 50, 49;
}

body.light-mode {
  --bg: #f5f3ef;
  --bg2: #ebe9e4;
  --card: #e0ddd7;
  --text: var(--black);
  --text2: rgba(50, 50, 49, .65);
  --text3: rgba(50, 50, 49, .4);
  --nav-bg: rgba(245, 243, 239, .97);
  --border: rgba(50, 50, 49, .2);
  --meth-bg: #323231;
  --meth-text: var(--cream);
  --meth-text2: rgba(245, 243, 239, .6);
  --meth-border: rgba(245, 243, 239, .12);
  --cta-bg: var(--dark);
  --cta-text: var(--cream);
  --stroke-color: var(--black);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  cursor: none;
  transition: background .4s, color .4s;
}

/* CURSOR */
#cur {
  width: 10px;
  height: 10px;
  background: var(--text);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .15s;
  mix-blend-mode: difference;
}

#cur-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(115, 115, 115, .5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .3s, opacity .3s;
}

body.chov #cur {
  transform: translate(-50%, -50%) scale(2.6);
}

body.chov #cur-ring {
  transform: translate(-50%, -50%) scale(1.5);
  opacity: .3;
}

/* THEME TOGGLE */

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 56px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  transition: background .4s;
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: opacity .2s, filter .2s;
  cursor: none;
}

.nav-logo img:hover {
  opacity: .8;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .55;
  transition: opacity .2s, color .3s;
  cursor: none;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--text) !important;
  color: var(--bg) !important;
  opacity: 1 !important;
  padding: 10px 24px;
  font-weight: 500 !important;
  transition: background .2s, transform .15s, color .3s !important;
  cursor: none !important;
}

.nav-cta:hover {
  opacity: .85 !important;
  transform: translateY(-1px) !important;
}

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

.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 4px;
  background: transparent;
  border: none;
}

.nav-ham span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all .3s;
}

.nav-ham.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-ham.open span:nth-child(2) {
  opacity: 0;
}

.nav-ham.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
  transition: opacity .2s;
  cursor: none;
}

.nav-mobile a:hover {
  opacity: 1;
}

.nav-mobile .nm-cta {
  background: var(--cream);
  color: var(--black);
  padding: 14px 36px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  margin-top: 8px;
}

/* PAGES */
.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* UTILS */
.lbl {
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color .3s;
}

.lbl::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gray);
}

.sec-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(44px, 6vw, 94px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 36px;
  color: var(--text);
  transition: color .3s;
}

/* SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.fade-up.vis {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.fade-left.vis {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.fade-right.vis {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.scale-in.vis {
  opacity: 1;
  transform: scale(1);
}

/* stagger delays */
.d1 {
  transition-delay: .1s;
}

.d2 {
  transition-delay: .2s;
}

.d3 {
  transition-delay: .3s;
}

.d4 {
  transition-delay: .4s;
}

.d5 {
  transition-delay: .5s;
}

/* BUTTONS */
.btn-p {
  background: var(--text);
  color: var(--bg);
  padding: 15px 34px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, color .3s, background .3s;
}

.btn-p::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: translateX(-101%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  z-index: 0;
}

.btn-p:hover::before {
  transform: translateX(0);
}

.btn-p:hover {
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}

.btn-p span,
.btn-p .arr {
  position: relative;
  z-index: 1;
}

.btn-p:hover .arr {
  transform: translateX(5px);
  transition: transform .2s;
}

.btn-o {
  background: transparent;
  color: var(--text);
  padding: 15px 34px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(115, 115, 115, .35);
  cursor: none;
  transition: border-color .2s, background .2s, transform .15s, color .3s;
}

.btn-o:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-d {
  background: var(--dark);
  color: var(--cream);
  padding: 15px 34px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .2s;
}

.btn-d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #444442;
  transform: translateX(-101%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  z-index: 0;
}

.btn-d:hover::before {
  transform: translateX(0);
}

.btn-d:hover {
  transform: translateY(-2px);
}

.btn-d span,
.btn-d .arr {
  position: relative;
  z-index: 1;
}

.btn-d:hover .arr {
  transform: translateX(5px);
  transition: transform .2s;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  padding: 130px 56px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-o {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  height: 110vh;
  width: auto;
  opacity: .04;
  pointer-events: none;
  animation: floatY 9s ease-in-out infinite;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 20px));
  }
}

.hero-left {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gray);
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(44px, 6.5vw, 100px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--text);
  transition: color .3s;
}

.hero-title .sm {
  font-weight: 300;
  font-size: .42em;
  display: block;
  letter-spacing: .06em;
  opacity: .55;
  margin-bottom: 4px;
}

.hero-title .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--stroke-color);
  display: block;
  transition: -webkit-text-stroke-color .3s;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text2);
  max-width: 420px;
  margin-bottom: 40px;
  font-weight: 300;
  transition: color .3s;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  position: relative;
  z-index: 2;
}

/* STATS */
.stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 26px 30px;
  width: 230px;
  position: relative;
  overflow: hidden;
  transition: background .4s, border-color .4s;
}

.stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s ease;
}

.stat:hover::before {
  transform: scaleY(1);
}

@keyframes wiggle {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-4px);
  }

  40% {
    transform: translateX(4px);
  }

  60% {
    transform: translateX(-3px);
  }

  80% {
    transform: translateX(3px);
  }
}

.stat.wiggle {
  animation: wiggle .5s ease;
}

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  transition: color .3s;
}

.stat-lbl {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-quote {
  font-family: 'Rubik', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--text3);
  text-align: right;
  max-width: 240px;
  line-height: 1.75;
  transition: color .3s;
}

/* MARQUEE */
.mq-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  background: var(--dark);
  transition: background .4s, border-color .4s;
}

.mq-track {
  display: flex;
  width: max-content;
  animation: mq 30s linear infinite;
}

.mq-wrap:hover .mq-track {
  animation-play-state: paused;
}

.mq-item {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .22em;
  color: #ebe9e4;
  white-space: nowrap;
  padding: 0 36px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 36px;
}

.mq-dot {
  width: 3px;
  height: 3px;
  background: var(--gray);
  border-radius: 50%;
}

@keyframes mq {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

/* PROBLEMS */
.prob-sec {
  padding: 108px 56px;
}

.prob-sec-title {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 40px;
  max-width: 680px;
  transition: color .3s;
}

.prob-sec-title strong {
  font-weight: 600;
  color: var(--text);
}

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

.prob-card {
  background: var(--bg2);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: background .4s;
}

.prob-card:hover {
  background: var(--card);
}

.prob-card::after {
  content: attr(data-n);
  position: absolute;
  bottom: -10px;
  right: 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 100px;
  font-weight: 700;
  color: rgba(245, 243, 239, .14);
  line-height: 1;
  pointer-events: none;
}

.prob-icon {
  font-size: 26px;
  margin-bottom: 16px;
}

.prob-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 11px;
  color: var(--text);
  transition: color .3s;
}

.prob-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text2);
  font-weight: 300;
  transition: color .3s;
}

.prob-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.prob-card:hover .prob-bar {
  transform: scaleX(1);
}

.prob-close {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text2);
  font-weight: 300;
  max-width: 580px;
  margin-bottom: 28px;
  transition: color .3s;
}

.prob-close strong {
  color: var(--text);
  font-weight: 600;
}

/* METHOD */
.meth-sec {
  padding: 108px 56px;
  background: var(--meth-bg);
  transition: background .4s;
}

.meth-sec .lbl {
  color: rgba(115, 115, 115, .8);
}

.meth-sec .lbl::before {
  background: rgba(115, 115, 115, .8);
}

.meth-sec .sec-title {
  color: var(--meth-text);
  transition: color .3s;
}

.meth-intro {
  max-width: 680px;
  margin-bottom: 48px;
}

.meth-intro p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--meth-text2);
  transition: color .3s;
}

.meth-intro p+p {
  margin-top: 8px;
}

.meth-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--meth-border);
  cursor: none;
  transition: border-color .4s;
}

.meth-step:last-child {
  border-bottom: none;
}

/* letters always visible */
.step-lt {
  font-family: 'Oswald', sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: .85;
  color: var(--meth-text);
  text-transform: uppercase;
  opacity: .12;
  transition: opacity .3s, color .3s;
}

.meth-step:hover .step-lt {
  opacity: .22;
}

.step-ct h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--meth-text);
  margin-bottom: 10px;
  transition: color .3s;
}

.step-ct p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--meth-text2);
  max-width: 560px;
  font-weight: 300;
  transition: color .3s;
}

.step-phrase {
  font-size: 13px;
  font-style: italic;
  color: var(--meth-text2);
  margin-top: 10px;
  font-weight: 300;
  opacity: .6;
  transition: color .3s;
}

.meth-cta {
  margin-top: 56px;
  text-align: center;
}

/* LOGOS */
.logos-sec {
  padding: 52px 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: border-color .4s;
}

.logos-block {
  margin-bottom: 40px;
}

.logos-block:last-child {
  margin-bottom: 0;
}

.logos-lbl {
  font-size: 16px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  margin-bottom: 20px;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.logo-tag {
  background: transparent;
  border: 2px solid var(--border);
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text3);
  transition: all .25s;
  cursor: none;
  font-family: 'Rubik', sans-serif;
}

.logo-tag:hover {
  color: var(--text);
  border-color: var(--text);
  transform: translateY(-2px);
}

.logo-tag {
  background: transparent;
  border: 2px solid var(--border);
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text3);
  transition: all .25s;
  cursor: none;
  font-family: 'Rubik', sans-serif;
  text-decoration: none; /* ← esta línea */
  display: inline-block; /* ← esta línea */
}

/* TESTIMONIALS */
.test-sec {
  padding: 108px 56px;
}

.test-subtitle {
  font-size: 15px;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 8px;
  margin-top: -20px;
  transition: color .3s;
}

.test-mini-lbl {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
  margin-top: 16px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}

.test-card {
  background: var(--bg2);
  padding: 38px 34px;
  cursor: none;
  position: relative;
  transition: background .4s;
}

.test-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.test-card:hover {
  background: var(--card);
}

.test-card:hover::after {
  transform: scaleX(1);
}

.test-q {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--text3);
  line-height: 1;
  margin-bottom: 14px;
  transition: color .3s;
}

.test-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text2);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 300;
  transition: color .3s;
}

.test-author {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  color: var(--text);
  transition: color .3s;
}

.test-co {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .1em;
  margin-top: 3px;
}
.test-caso-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  color: var(--text3);
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.test-caso-btn:hover {
  border-color: var(--text);
  color: var(--text);
}
.test-caso-btn .arr-sm {
  transition: transform .16s;
}
.test-caso-btn:hover .arr-sm {
  transform: translateX(3px);
}

/* CTA BAND */
.cta-band {
  background: var(--cta-bg);
  padding: 80px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  transition: background .4s;
}

.cta-band-left {
  flex: 1;
  min-width: 280px;
}

.cta-band h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
  color: var(--cta-text);
  margin-bottom: 8px;
  transition: color .3s;
}

.cta-band h2 span {
  opacity: .4;
}

.cta-band-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(50, 50, 49, .62);
  max-width: 460px;
  margin-top: 18px;
  font-weight: 300;
}

body.light-mode .cta-band-sub {
  color: rgba(245, 243, 239, .62);
}

/* FORM */
.form-sec {
  padding: 108px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.form-lft h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 700;
  line-height: .9;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text);
  transition: color .3s;
}

.form-lft h2 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--stroke-color);
  display: block;
  transition: -webkit-text-stroke-color .3s;
}

.form-lft-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text2);
  margin-bottom: 18px;
  font-weight: 300;
  transition: color .3s;
}

.form-note {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: .06em;
}

.form-note::before {
  content: '—';
}

.form-box {
  background: #f5f3ef;
  border: 1px solid rgba(50, 50, 49, .15);
  padding: 40px;
}

body.light-mode .form-box {
  background: var(--bg2);
  border-color: var(--border);
}

.prog {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}

.prog-s {
  height: 2px;
  flex: 1;
  background: rgba(50, 50, 49, .12);
  transition: background .25s ease, transform .2s ease;
}

.prog-s.done {
  background: var(--dark);
}

.fstep {
  display: none;
}

.fstep.on {
  display: block;
  animation: fadeUp .35s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.step-tag {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(50, 50, 49, .5);
  margin-bottom: 22px;
}

.ff {
  margin-bottom: 16px;
}

.ff label {
  display: block;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(50, 50, 49, .6);
  margin-bottom: 7px;
}

.ff input,
.ff textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(50, 50, 49, .2);
  color: var(--black);
  padding: 12px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  cursor: none;
}

.ff input:focus,
.ff textarea:focus {
  border-bottom-color: var(--text);
}

.rgrp {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ropt {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid rgba(50, 50, 49, .12);
  cursor: none;
  transition: all .2s;
}

.ropt:hover,
.ropt.sel {
  border-color: rgba(50, 50, 49, .35);
  background: rgba(50, 50, 49, .06);
}

.ropt input {
  display: none;
}

.rdot {
  width: 13px;
  height: 13px;
  border: 1.5px solid rgba(50, 50, 49, .3);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all .2s;
}

.ropt.sel .rdot {
  border-color: var(--dark);
  background: var(--dark);
}

.ropt span {
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
}

.cond-box {
  display: none;
  margin-top: 10px;
  animation: fadeUp .3s ease;
}

.cond-box.show {
  display: block;
}

.cond-box textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(50, 50, 49, .18);
  color: var(--black);
  padding: 12px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  outline: none;
  resize: vertical;
  transition: border-color .2s, color .3s;
  cursor: none;
}

.cond-box textarea:focus {
  border-color: var(--text);
}

.terms-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(50, 50, 49, .12);
  cursor: none;
}

.terms-box:hover {
  border-color: rgba(115, 115, 115, .4);
}

.terms-check {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(50, 50, 49, .3);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all .2s;
  cursor: none;
}

.terms-check.checked {
  background: var(--dark);
  border-color: var(--dark);
}

.terms-check.checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--bg);
  font-weight: 700;
}

.terms-txt {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(50, 50, 49, .6);
  font-weight: 300;
}

.terms-txt strong {
  color: var(--text);
  font-weight: 500;
}

.fnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.fbk {
  background: transparent;
  color: rgba(50, 50, 49, .45);
  border: none;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: none;
  transition: color .2s;
  font-family: 'Rubik', sans-serif;
}

.fbk:hover {
  color: var(--dark);
}

.fnxt {
  background: var(--dark);
  color: var(--cream);
  padding: 12px 26px;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  transition: opacity .2s, transform .15s, background .3s, color .3s;
  margin-left: auto;
}

.fnxt:hover {
  opacity: .82;
  transform: translateY(-1px);
}

.fsuccess {
  text-align: center;
  padding: 28px 0;
}

.succ-ring {
  width: 64px;
  height: 64px;
  border: 2px solid var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  animation: pulse 2.2s ease infinite;
  color: var(--text);
}
.succ-ring svg {
  width: 28px;
  height: 28px;
  stroke: var(--text);
  display: block;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(115, 115, 115, .3);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(115, 115, 115, 0);
  }
}

.fsuccess h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: .04em;
  color: var(--dark);
}

.fsuccess p {
  font-size: 14px;
  color: rgba(50, 50, 49, .55);
  line-height: 1.7;
  font-weight: 300;
}

.ferr {
  font-size: 11px;
  color: #e07070;
  letter-spacing: .06em;
  margin-top: 6px;
  display: none;
  transition: opacity .2s ease, max-height .2s ease;
}

.ferr.show {
  display: block;
}

/* FOOTER */
footer {
  padding: 68px 56px 40px;
  border-top: 1px solid var(--border);
  transition: border-color .4s;
}

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

.footer-logo img {
  height: 28px;
  width: auto;
  margin-bottom: 18px;
  opacity: .85;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text3);
  max-width: 270px;
  font-weight: 300;
  transition: color .3s;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: var(--text3);
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  transition: color .2s;
  cursor: none;
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-btm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text3);
  letter-spacing: .06em;
  transition: color .3s, border-color .4s;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  color: var(--text3);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s;
  cursor: none;
}

.socials a:hover {
  color: var(--text);
}

/* CASOS */
.casos-hero {
  padding: 148px 56px 68px;
}

.casos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 0 56px 108px;
}

.caso-card {
  background: var(--bg2);
  padding: 46px 42px;
  position: relative;
  cursor: none;
  transition: background .4s;
}

.caso-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.caso-card:hover {
  background: var(--card);
}

.caso-card:hover::after {
  transform: scaleX(1);
}

.caso-tag-s {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.caso-tag-s::before {
  content: '●';
  font-size: 4px;
}

.caso-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 5px;
  color: var(--text);
  transition: color .3s;
}

.caso-co {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.caso-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text2);
  margin-bottom: 24px;
  font-weight: 300;
  transition: color .3s;
}

.caso-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  color: var(--text3);
  padding: 6px 13px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .3s, border-color .4s;
}

/* NOSOTROS */
.nos-hero {
  padding: 148px 56px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.nos-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(52px, 7vw, 108px);
  font-weight: 700;
  line-height: .88;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: var(--text);
  transition: color .3s;
}

.nos-hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--stroke-color);
  transition: -webkit-text-stroke-color .3s;
}

.nos-hero p {
  font-size: 16px;
  line-height: 1.82;
  color: var(--text2);
  margin-bottom: 18px;
  font-weight: 300;
  transition: color .3s;
}

.nos-block {
  background: var(--bg2);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}

.nos-block::before {
  content: 'MANGO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Oswald', sans-serif;
  font-size: 76px;
  font-weight: 700;
  color: rgba(115, 115, 115, .06);
  letter-spacing: .1em;
  white-space: nowrap;
}

.nos-block-c {
  position: relative;
  z-index: 1;
}

.nos-block-c span {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 10px;
}

.nos-block-c strong {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  transition: color .3s;
}

.nos-vals {
  padding: 2px 56px 108px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 2px;
}

.val-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

.val-card {
  background: var(--bg2);
  padding: 46px 38px;
  transition: background .4s;
}

.val-num {
  font-family: 'Oswald', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: rgba(115, 115, 115, .08);
  line-height: 1;
  margin-bottom: 14px;
}

.val-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
  transition: color .3s;
}

.val-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text2);
  font-weight: 300;
  transition: color .3s;
}

/* FLOAT M */
.float-m {
  position: fixed;
  pointer-events: none;
  z-index: 8000;
  width: 44px;
  height: auto;
  animation: floatUp 1.2s ease forwards;
}

@keyframes floatUp {
  0% {
    opacity: .9;
    transform: translateY(0) rotate(-5deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-80px) rotate(10deg) scale(1.3);
  }
}

/* GAME BUTTON */
#game-btn.vis {
  opacity: 1;
  transform: translateY(0);
}

#game-btn:hover {
  color: var(--text);
  border-color: var(--text);
}

#game-btn img {
  height: 13px;
  width: auto;
  opacity: .5;
  transition: opacity .2s;
}

#game-btn:hover img {
  opacity: 1;
}

/* ── ANIMACIÓN IMAGEN NOSOTROS ─────────────────── */
.nos-img-anim {
  position: relative;
  display: inline-block;
  animation: nos-float 6s ease-in-out infinite;
}
@keyframes nos-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.nos-img-anim img {
  width: 100%;
  max-width: 580px;
  display: block;
  transform-origin: 60% 30%;
  animation: nos-headbob 4s ease-in-out infinite;
}
@keyframes nos-headbob {
  0%        { transform: rotate(0deg) translateY(0); }
  20%       { transform: rotate(-1.2deg) translateY(-2px); }
  50%       { transform: rotate(0.8deg) translateY(0); }
  80%       { transform: rotate(-0.6deg) translateY(-1px); }
  100%      { transform: rotate(0deg) translateY(0); }
}

/* MOBILE */
@media(max-width:768px) {
  nav {
    padding: 18px 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-ham {
    display: flex;
  }

  .hero,
  .form-sec,
  .nos-hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 56px;
  }

  .hero-right,
  .hero-bg-o {
    display: none;
  }

  .prob-grid,
  .test-grid,
  .casos-grid,
  .footer-grid,
  .nos-vals {
    grid-template-columns: 1fr;
  }

  .prob-sec,
  .test-sec,
  .logos-sec {
    padding: 68px 24px;
  }

  .meth-sec {
    padding: 68px 24px;
  }

  .meth-step {
    grid-template-columns: 54px 1fr;
    gap: 18px;
  }

  .step-lt {
    font-size: 52px;
  }

  .sec-title {
    font-size: clamp(34px, 9vw, 60px);
  }

  .cta-band {
    flex-direction: column;
    padding: 52px 24px;
    text-align: center;
  }

  footer {
    padding: 52px 24px 32px;
  }

  .casos-hero,
  .nos-hero {
    padding: 118px 24px 40px;
  }

  .casos-grid {
    padding: 0 24px 72px;
  }

  .nos-vals {
    padding: 0 24px 72px;
  }
}


/* WHATSAPP */
#wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 600;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .35);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
}

#wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .55);
}

#wa-btn svg {
  width: 26px;
  height: 26px;
  fill: white;
  flex-shrink: 0;
}

.wa-tooltip {
  position: absolute;
  bottom: 62px;
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all .22s;
  border-radius: 2px;
}

#wa-btn:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 18px;
  width: 8px;
  height: 8px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}

/* ── TESTIMONIOS PAGE ─────────────────────────── */
.test-video-section {
  padding: 0 56px 40px;
}

.test-sector-label {
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-sector-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gray);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.video-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--card) 0%, var(--bg) 100%);
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 243, 239, .12);
  border: 2px solid rgba(245, 243, 239, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}

.video-card:hover .play-btn {
  background: rgba(245, 243, 239, .22);
  border-color: var(--cream);
  transform: scale(1.08);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--cream);
  margin-left: 3px;
}

.video-info {
  padding: 20px 22px 18px;
}

.video-client {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: 4px;
  transition: color .3s;
}

.video-sector {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}

.video-quote {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text2);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 18px;
  transition: color .3s;
}

.btn-caso {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text3);
  padding: 9px 18px;
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: none;
  transition: all .25s;
}

.btn-caso:hover {
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-caso .arr-sm {
  transition: transform .2s;
}

.btn-caso:hover .arr-sm {
  transform: translateX(4px);
}

/* ── CASE DETAIL PAGE ─────────────────────────── */
.case-page {
  display: none;
  min-height: 100vh;
  padding-top: 88px;
}

.case-page.active {
  display: block;
}

.case-hero-label {
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.case-hero-label::before,
.case-hero-label::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gray);
}

.case-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 700;
  text-align: center;
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 10px;
  transition: color .3s;
}

.case-hero-subtitle {
  font-family: 'Rubik', sans-serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  text-align: center;
  color: var(--text2);
  margin-bottom: 10px;
  transition: color .3s;
}

.case-hero-desc {
  font-size: 15px;
  color: var(--text3);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 52px;
  line-height: 1.7;
  font-weight: 300;
  transition: color .3s;
}

.case-card-outer {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: background .4s, border-color .4s;
}

.case-card-header {
  background: var(--dark);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.case-logo-sq {
  width: 46px;
  height: 46px;
  background: rgba(245, 243, 239, .1);
  border: 1px solid rgba(245, 243, 239, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cream);
}

.case-company-name {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cream);
}

.case-company-sub {
  font-size: 11px;
  color: rgba(245, 243, 239, .45);
  letter-spacing: .08em;
  margin-top: 2px;
}

.case-sector-tag {
  border: 1px solid rgba(245, 243, 239, .3);
  color: rgba(245, 243, 239, .6);
  padding: 6px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.case-body {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
}

.case-body-left {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
}

.case-section-title {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-section-title::before {
  content: '|';
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
}

.case-body-left p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text2);
  font-weight: 300;
  margin-bottom: 28px;
  transition: color .3s;
}

.case-timeline {
  padding: 32px;
}

.case-timeline-title {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 22px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color .4s;
}

.timeline-row:last-child {
  border-bottom: none;
}

.timeline-row.highlight {
  background: var(--dark);
  padding: 14px;
  margin: 0 -32px;
  border-bottom: none;
}

.t-date {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(245, 243, 239, .5);
  line-height: 1.3;
}

.t-date.hl {
  color: var(--cream);
}

.t-data {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.t-badge {
  background: var(--dark);
  color: var(--cream);
  padding: 4px 11px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(245, 243, 239, .15);
}

.timeline-row.highlight .t-badge {
  background: rgba(245, 243, 239, .15);
  border-color: rgba(245, 243, 239, .3);
}

.t-sub {
  font-size: 11px;
  color: var(--text3);
  letter-spacing: .04em;
  width: 100%;
  margin-top: 3px;
  transition: color .3s;
}

.t-sub.hl {
  color: rgba(245, 243, 239, .6);
}

.t-result-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
  width: 100%;
}

.t-result-badge {
  border: 1px solid rgba(245, 243, 239, .3);
  color: rgba(245, 243, 239, .8);
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: .06em;
}

/* Stats bar */
.case-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border);
  transition: border-color .4s;
}

.case-stat {
  padding: 22px 16px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: border-color .4s;
}

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

.cs-num {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  transition: color .3s;
}

.cs-lbl {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 5px;
  line-height: 1.35;
}

/* Testimonial quote */
.case-quote-block {
  padding: 32px;
  border-top: 1px solid var(--border);
  transition: border-color .4s;
}

.case-quote-text {
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text2);
  margin-bottom: 16px;
  transition: color .3s;
}

.case-quote-text::before {
  content: '"';
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
  color: var(--text3);
  line-height: 0;
  vertical-align: -.4em;
  margin-right: 4px;
}

.case-quote-author {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text3);
  transition: color .3s;
}

/* Back button */
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3);
  cursor: none;
  background: transparent;
  border: none;
  padding: 0;
  transition: color .2s;
  margin-bottom: 28px;
}

.case-back:hover {
  color: var(--text);
}

.case-back:hover span {
  transform: translateX(-4px);
}

.case-back span {
  transition: transform .2s;
  display: inline-block;
}

.case-hero-wrap {
  padding: 52px 56px 0;
}

@media(max-width:768px) {
  .video-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .test-video-section {
    padding: 0 0 40px;
  }

  .case-body {
    grid-template-columns: 1fr;
  }

  .case-body-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .case-card-outer {
    margin: 0 24px;
  }

  .case-hero-wrap {
    padding: 40px 24px 0;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
}

#theme-btn {
  background: var(--bg2);
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: none;
  color: var(--text);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform .25s, background .3s, border-color .3s;
}

#theme-btn:hover {
  transform: rotate(20deg);
  border-color: var(--text);
}

@media(max-width:768px) {
  .nav-right {
    gap: 0;
  }

  #theme-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}


.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.video-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .4);
}

.video-thumb {
  width: 100%;
  aspect-ratio: 9/16;
  position: relative;
  overflow: hidden;
  background: #000;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(160deg, var(--dark) 0%, var(--bg) 100%);
}

.ph-name {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: .06em;
  text-align: center;
  padding: 0 16px;
}

.ph-brand {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}

.video-card:hover .thumb-overlay {
  background: rgba(0, 0, 0, .18);
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245, 243, 239, .15);
  border: 2px solid rgba(245, 243, 239, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, background .25s;
}

.video-card:hover .play-btn {
  transform: scale(1.1);
  background: rgba(245, 243, 239, .25);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  margin-left: 3px;
}

.video-info {
  padding: 16px 18px 18px;
}

.video-client {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: 3px;
  transition: color .3s;
}

.video-sector {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.btn-caso {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text3);
  padding: 7px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: none;
  transition: all .22s;
}

.btn-caso:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn-caso .arr-sm {
  transition: transform .2s;
}

.btn-caso:hover .arr-sm {
  transform: translateX(3px);
}

@media(max-width:768px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media(max-width:480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}


/* ── CASO CASA PRAGA ─────────────────────────────────────── */
.cp-page {
  min-height: 100vh;
  padding-top: 88px;
  max-width: 900px;
  margin: 0 auto;
}

.cp-header {
  padding: 52px 40px 32px;
  border-bottom: 1px solid var(--border);
  transition: border-color .4s;
}

.cp-tag {
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--cp-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cp-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 12px;
  transition: color .3s;
}

.cp-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  color: var(--text2);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  transition: color .3s;
}

.cp-problem {
  padding: 22px 40px;
  background: rgba(var(--cp-accent-rgb), .04);
  border-left: 3px solid rgba(var(--cp-accent-rgb), .35);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  color: var(--text2);
  font-style: italic;
  line-height: 1.7;
  transition: color .3s;
}

.cp-solution-badge {
  display: inline-block;
  background: rgba(var(--cp-accent-rgb), .1);
  color: var(--cp-accent);
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin: 28px 40px 8px;
}

.cp-solution-text {
  padding: 0 40px 36px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 600px;
  font-weight: 300;
  transition: color .3s;
}

.cp-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
  transition: background .4s;
}

.cp-charts-header {
  padding: 36px 40px 0;
}

.cp-charts-tag {
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--cp-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cp-charts-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
  margin: 0 0 8px;
  transition: color .3s;
}

.cp-charts-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  color: var(--text3);
  font-weight: 300;
  line-height: 1.6;
  transition: color .3s;
}

.cp-tabs {
  display: flex;
  gap: 2px;
  padding: 20px 40px 0;
  flex-wrap: wrap;
}

.cp-tab {
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: none;
  color: var(--text3);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-bottom: none;
  transition: all .2s;
}

.cp-tab.active {
  color: var(--cp-accent);
  background: rgba(var(--cp-accent-rgb), .07);
  border-color: rgba(var(--cp-accent-rgb), .25);
}

.cp-tab:hover:not(.active) {
  color: var(--text2);
}

.cp-chart-area {
  padding: 0 40px 36px;
  border-top: 1px solid rgba(var(--cp-accent-rgb), .15);
  background: rgba(var(--cp-accent-rgb), .02);
}

.cp-chart-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  margin-top: 20px;
}

.cp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}

.cp-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  color: var(--text3);
  font-weight: 300;
  transition: color .3s;
}

.cp-legend-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.cp-panel {
  display: none;
}

.cp-panel.active {
  display: block;
}

/* Timeline */
.cp-timeline-section {
  padding: 36px 40px 40px;
  border-top: 1px solid var(--border);
  transition: border-color .4s;
}

.cp-timeline-label {
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 22px;
  transition: color .3s;
}

.cp-month-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  margin-bottom: 3px;
  cursor: none;
}

.cp-month-label {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text3);
  padding: 12px 0;
  align-self: center;
  transition: color .2s;
}

.cp-month-bar-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.cp-month-bar-track {
  height: 34px;
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: background .2s, border-color .2s;
}

.cp-month-bar-fill {
  height: 100%;
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  min-width: 4px;
}

.cp-month-bar-fill span {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 0, 0, .7);
  white-space: nowrap;
}

.cp-month-pills {
  display: flex;
  gap: 6px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.cp-pill {
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  padding: 3px 9px;
  border: 1px solid var(--border);
  color: var(--text3);
  background: var(--bg2);
  letter-spacing: .04em;
  transition: all .2s;
}

.cp-month-row.active .cp-month-label {
  color: var(--cp-accent);
}

.cp-month-row.active .cp-month-bar-track {
  background: rgba(var(--cp-accent-rgb), .08);
  border-color: rgba(var(--cp-accent-rgb), .25);
}

.cp-month-row.active .cp-pill {
  border-color: rgba(var(--cp-accent-rgb), .3);
  color: var(--cp-accent);
  background: rgba(var(--cp-accent-rgb), .06);
}

.cp-month-note {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  color: rgba(var(--cp-accent-rgb), .7);
  margin-top: 5px;
  display: none;
  font-weight: 300;
}

.cp-month-row.active .cp-month-note {
  display: block;
}

.cp-highlight-pills {
  display: none;
  gap: 6px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.cp-month-row.active .cp-highlight-pills {
  display: flex;
}

.cp-hpill {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border: 1px solid rgba(var(--cp-accent-rgb), .4);
  color: var(--cp-accent);
  background: rgba(var(--cp-accent-rgb), .08);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* KPIs */
.cp-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  transition: background .4s;
}

.cp-kpi-cell {
  background: var(--bg);
  padding: 28px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}

.cp-kpi-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--cp-accent);
  opacity: 0;
  transition: opacity .6s;
}

.cp-kpi-cell.revealed::before {
  opacity: 1;
}

.cp-kpi-number {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: all .45s cubic-bezier(.4, 0, .2, 1), color .3s;
}

.cp-kpi-cell.revealed .cp-kpi-number {
  opacity: 1;
  transform: translateY(0);
}

.cp-kpi-number.gold {
  color: var(--cp-accent);
}

.cp-kpi-label {
  font-family: 'Rubik', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text3);
  line-height: 1.4;
  transition: color .3s;
}

/* Testimonial */
.cp-testimonial {
  padding: 28px 40px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  transition: background .4s, border-color .4s;
}

.cp-quote-mark {
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(var(--cp-accent-rgb), .3);
  line-height: 1;
  margin-bottom: 6px;
}

.cp-testimonial-text {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.85;
  max-width: 700px;
  transition: color .3s;
}

.cp-testimonial-author {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-top: 14px;
  transition: color .3s;
}

.cp-cta-wrap {
  text-align: center;
  padding: 52px 40px;
}

@media(max-width: 768px) {
  .cp-page {
    padding-top: 80px;
  }

  .cp-header,
  .cp-chart-area,
  .cp-timeline-section,
  .cp-testimonial,
  .cp-cta-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cp-problem,
  .cp-solution-text {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cp-solution-badge {
    margin-left: 24px;
  }

  .cp-charts-header,
  .cp-tabs {
    padding-left: 24px;
    padding-right: 24px;
  }

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

  .cp-month-row {
    grid-template-columns: 72px 1fr;
  }
}

/* END caso casa praga */

/* ── LIGHT MODE FIXES ─────────────────────────── */
body.light-mode .prob-card::after {
  color: rgba(50, 50, 49, .08);
}

body.light-mode .val-num {
  color: rgba(50, 50, 49, .08);
}

body.light-mode .nos-block::before {
  color: rgba(50, 50, 49, .04);
}

body.light-mode .stat-num {
  color: var(--black);
}

body.light-mode .hero-quote {
  color: var(--text3);
}

body.light-mode .mq-item {
  color: rgba(50, 50, 49, .3);
}

body.light-mode .mq-item {
  color: rgba(50, 50, 49, 0.4);
}

body.light-mode .mq-dot {
  background: rgba(50, 50, 49, 0.4);
}

body.light-mode .mq-wrap {
  background: var(--bg2);
  border-color: rgba(50, 50, 49, 0.15);
}


body.light-mode .step-lt {
  color: var(--meth-text);
}

body.light-mode .t-badge {
  background: var(--dark);
  color: var(--cream);
}

body.light-mode .timeline-row.highlight {
  background: var(--dark);
}

body.light-mode .thumb-placeholder {
  background: linear-gradient(160deg, var(--dark) 0%, var(--card) 100%);
}

body.light-mode .case-logo-sq {
  background: rgba(50, 50, 49, .1);
  border-color: rgba(50, 50, 49, .2);
  color: var(--dark);
}

body.light-mode .case-company-name {
  color: var(--cream);
}

body.light-mode .case-company-sub {
  color: rgba(245, 243, 239, .55);
}

body.light-mode .case-sector-tag {
  border-color: rgba(245, 243, 239, .3);
  color: rgba(245, 243, 239, .6);
}

body.light-mode .test-q {
  color: var(--text3);
}

body.light-mode #footer-logo-img {
  filter: invert(1) brightness(0);
}

body.light-mode .cp-month-bar-fill span {
  color: rgba(255, 255, 255, .85);
}
/* Light mode: use dark O letter for hero background */
body.light-mode .hero-bg-o {
  content: url('img/Recurso\ 29.png');
  filter: none;
  opacity: 0.06;
}

/* Staggered animation delays for grid children */
.prob-grid .prob-card:nth-child(1),
.test-grid .test-card:nth-child(1),
.video-grid .video-card:nth-child(1),
.casos-grid .caso-card:nth-child(1),
.nos-vals .val-card:nth-child(1) { transition-delay: 0s; }

.prob-grid .prob-card:nth-child(2),
.test-grid .test-card:nth-child(2),
.video-grid .video-card:nth-child(2),
.casos-grid .caso-card:nth-child(2),
.nos-vals .val-card:nth-child(2) { transition-delay: 0.08s; }

.prob-grid .prob-card:nth-child(3),
.test-grid .test-card:nth-child(3),
.video-grid .video-card:nth-child(3),
.casos-grid .caso-card:nth-child(3),
.nos-vals .val-card:nth-child(3) { transition-delay: 0.16s; }

.prob-grid .prob-card:nth-child(4),
.test-grid .test-card:nth-child(4),
.video-grid .video-card:nth-child(4),
.casos-grid .caso-card:nth-child(4) { transition-delay: 0.24s; }

.video-grid .video-card:nth-child(5) { transition-delay: 0.32s; }
.video-grid .video-card:nth-child(6) { transition-delay: 0.40s; }

/* Meth steps stagger */
.meth-step:nth-child(1) { transition-delay: 0s; }
.meth-step:nth-child(2) { transition-delay: 0.1s; }
.meth-step:nth-child(3) { transition-delay: 0.2s; }
.meth-step:nth-child(4) { transition-delay: 0.3s; }
.meth-step:nth-child(5) { transition-delay: 0.4s; }

/* Timeline rows stagger */
.timeline-row:nth-child(1) { transition-delay: 0s; }
.timeline-row:nth-child(2) { transition-delay: 0.07s; }
.timeline-row:nth-child(3) { transition-delay: 0.14s; }
.timeline-row:nth-child(4) { transition-delay: 0.21s; }
.timeline-row:nth-child(5) { transition-delay: 0.28s; }
.timeline-row:nth-child(6) { transition-delay: 0.35s; }
.timeline-row:nth-child(7) { transition-delay: 0.42s; }
