/* Dos Mentes Web — Landing */
:root {
  --background: #070b14;
  --surface: #111827;
  --surface-hover: #1a2332;
  --orange: #ff6b00;
  --orange-glow: rgba(255, 107, 0, 0.35);
  --timba-green: #57b695;
  --timba-green-glow: rgba(87, 182, 149, 0.35);
  --white: #ffffff;
  --gray: #9ca3af;
  --gray-dark: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 92px;
  --section-padding: clamp(4rem, 8vw, 7rem);
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

/* ── Particles canvas ── */
#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}

#particles-js canvas {
  pointer-events: auto;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* PNGs con fondo negro embebido → lighten lo fusiona con el fondo del sitio */
.brand-logo {
  mix-blend-mode: lighten;
}

.nav__logo img {
  height: clamp(56px, 7.5vw, 72px);
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: color var(--transition);
}

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

.nav__cta {
  padding: 0.55rem 1.25rem;
  background: var(--orange);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--orange-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Section shared ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 560px;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__logo {
  display: block;
  width: clamp(320px, 58vw, 520px);
  height: auto;
  max-width: 100%;
  margin-bottom: 2.25rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero__title span {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__proof {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.hero__proof li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--gray);
}

.hero__proof li i {
  color: var(--orange);
  font-size: 0.8rem;
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero__pill {
  padding: 0.4rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gray);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 520px;
}

.hero__phone {
  position: absolute;
  left: 5%;
  top: 8%;
  width: 220px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.hero__laptop {
  position: absolute;
  right: 0;
  top: 20%;
  width: 380px;
  z-index: 2;
  animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.device {
  background: #1c2333;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.device--phone {
  border-radius: 28px;
  padding: 10px;
}

.device--phone .device__screen {
  border-radius: 20px;
  aspect-ratio: 9/19;
  overflow: hidden;
}

.device--laptop .device__bar {
  height: 28px;
  background: #0d1117;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.device--laptop .device__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.device--laptop .device__dot--red { background: #ff5f57; }
.device--laptop .device__dot--yellow { background: #febc2e; }
.device--laptop .device__dot--green { background: #28c840; }

.device--laptop .device__screen {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.device__screen--img {
  aspect-ratio: 9/19;
  background: #0a0f18;
}

.device__screen--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.device--timba {
  border-color: rgba(87, 182, 149, 0.25);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(87, 182, 149, 0.12);
}

/* La Timba mock screen */
.mock-timba {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-timba__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-timba__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--orange);
}

.mock-timba__stat {
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 8px;
  padding: 0.6rem;
  text-align: center;
}

.mock-timba__stat-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
}

.mock-timba__stat-label {
  font-size: 0.55rem;
  color: var(--gray);
  margin-top: 2px;
}

.mock-timba__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mock-timba__ball {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.mock-timba__ball--hot {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.mock-timba__chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.mock-timba__bar {
  flex: 1;
  background: linear-gradient(to top, var(--orange), rgba(255, 107, 0, 0.3));
  border-radius: 3px 3px 0 0;
}

/* Dashboard mock screen */
.mock-dashboard {
  background: #0d1117;
  height: 100%;
  display: flex;
}

.mock-dashboard__sidebar {
  width: 60px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.mock-dashboard__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.mock-dashboard__icon--active {
  background: var(--orange);
}

.mock-dashboard__main {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-dashboard__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mock-dashboard__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem;
}

.mock-dashboard__card-num {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
}

.mock-dashboard__card-label {
  font-size: 0.45rem;
  color: var(--gray);
}

.mock-dashboard__table {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem;
}

.mock-dashboard__table-row {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin-bottom: 4px;
}

.mock-dashboard__table-row--short { width: 60%; }
.mock-dashboard__table-row--med { width: 80%; }

/* Floating stat cards */
.float-card {
  position: absolute;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  z-index: 4;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.float-card__num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
}

.float-card__text {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 2px;
  white-space: nowrap;
}

.float-card--1 { top: 0; right: 10%; animation-delay: 0s; }
.float-card--2 { bottom: 30%; left: 0; animation-delay: 1s; }
.float-card--3 { bottom: 5%; right: 15%; animation-delay: 2s; }

/* ── Trust / Stats ── */
.trust {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust__item {
  padding: 1.5rem 1rem;
}

.trust__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust__label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ── About ── */
.about {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 107, 0, 0.15));
  pointer-events: none;
}

.about__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about__text p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about__highlight {
  color: var(--white);
  font-weight: 500;
}

/* ── Services ── */
.services {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.5) 50%, transparent 100%);
}

.services__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services__header .section-subtitle {
  margin-inline: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  transform-style: preserve-3d;
  perspective: 800px;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-8px) rotateX(4deg);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 20px 48px rgba(255, 107, 0, 0.15), 0 0 0 1px rgba(255, 107, 0, 0.1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card__icon i {
  font-size: 1.4rem;
  color: var(--orange);
}

.service-card:hover .service-card__icon {
  background: rgba(255, 107, 0, 0.18);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.15);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── Projects ── */
.projects {
  position: relative;
  z-index: 1;
}

.project {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.project--featured {
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
}

.project--timba {
  background: radial-gradient(ellipse at 30% 50%, rgba(87, 182, 149, 0.1) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 60%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
}

.project__tag--timba {
  background: rgba(87, 182, 149, 0.15);
  border-color: rgba(87, 182, 149, 0.35);
  color: var(--timba-green);
}

.project__stat-num--timba {
  color: var(--timba-green);
}

.btn--timba {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--timba-green);
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn--timba:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--timba-green-glow);
  color: var(--white);
}

/* ── La Timba expanded section ── */
.timba__brand {
  width: clamp(200px, 35vw, 300px);
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
}

.timba__made-by {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1.75rem;
}

.timba__made-by-icon {
  width: 28px;
  height: 28px;
}

.timba__made-by strong {
  color: var(--white);
}

.timba__deep {
  padding: 0 0 var(--section-padding);
  border-bottom: 1px solid var(--border);
}

.timba__deep-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label--timba {
  color: var(--timba-green);
}

.timba__deep-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
}

.timba__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.timba__feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.timba__feature:hover {
  border-color: rgba(87, 182, 149, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(87, 182, 149, 0.1);
}

.timba__feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: rgba(87, 182, 149, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--timba-green);
}

.timba__feature h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timba__feature p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.55;
}

.timba__promo-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.timba__promo-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.timba__promo-img img {
  width: 100%;
  display: block;
}

.timba__promo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.timba__promo-desc {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.timba__trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.timba__trust-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray);
}

.timba__trust-list li i {
  color: var(--timba-green);
  width: 18px;
  text-align: center;
}

.timba__games {
  margin-top: 1rem;
}

.timba__games-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.timba__games-content {
  text-align: left;
}

.timba__games-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.5rem;
  text-align: center;
}

.timba__games-group {
  margin-bottom: 1.5rem;
}

.timba__games-group:last-child {
  margin-bottom: 0;
}

.timba__games-group-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--timba-green);
  margin-bottom: 0.75rem;
}

.timba__games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.timba__game-pill {
  padding: 0.45rem 1rem;
  background: rgba(87, 182, 149, 0.1);
  border: 1px solid rgba(87, 182, 149, 0.25);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--timba-green);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.timba__game-pill:hover {
  background: rgba(87, 182, 149, 0.2);
  border-color: rgba(87, 182, 149, 0.45);
  transform: translateY(-2px);
}

.timba__game-pill--accent {
  background: rgba(87, 182, 149, 0.2);
  border-color: rgba(87, 182, 149, 0.45);
  font-weight: 600;
}

/* Mapa de cobertura */
.timba__map {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem 1.25rem;
  text-align: center;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.timba__map-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.timba__map-legend {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.timba__map-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray);
}

.timba__map-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #ff6b00;
  flex-shrink: 0;
}

.timba__map-caption {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.timba__map-caption i {
  color: var(--timba-green);
}

.project__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.project--reverse .project__inner {
  direction: rtl;
}

.project--reverse .project__inner > * {
  direction: ltr;
}

.project__content {
  max-width: 520px;
}

.project__tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.project__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.project__desc {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project__stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
}

.project__stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Project visual — La Timba giant phone */
.project__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project__phone-giant {
  width: min(300px, 85%);
  animation: float 6s ease-in-out infinite;
}

.project__phone-giant .device--phone {
  border-radius: 36px;
  padding: 14px;
}

.project__phone-giant .device__screen {
  border-radius: 26px;
}

.project__dashboard {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.project__dashboard img {
  width: 100%;
}

.project__dashboard--wide {
  max-width: 580px;
}

.project__features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  list-style: none;
  padding: 0;
}

.project__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.project__features li i {
  color: var(--orange);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* Concursos animation */
.concursos-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 480px;
}

.concursos-demo__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.concursos-demo__box {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.concursos-demo__box--before {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.concursos-demo__box--after {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.concursos-demo__box-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.concursos-demo__box--before .concursos-demo__box-label { color: #f87171; }
.concursos-demo__box--after .concursos-demo__box-label { color: #4ade80; }

.concursos-demo__box-text {
  font-size: 0.9rem;
  color: var(--gray);
}

.concursos-demo__arrow {
  font-size: 1.5rem;
  color: var(--orange);
}

.concursos-demo__feed {
  height: 120px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.concursos-demo__record {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  animation: slideIn 0.5s ease-out;
}

.concursos-demo__record-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── Tech carousel ── */
.tech {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.tech__header {
  text-align: center;
  margin-bottom: 3rem;
}

.tech__track-wrapper {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.tech__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.tech__track:hover {
  animation-play-state: paused;
}

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

.tech__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray);
  transition: border-color var(--transition), color var(--transition);
}

.tech__item:hover {
  border-color: rgba(255, 107, 0, 0.4);
  color: var(--white);
}

.tech__item i {
  color: var(--orange);
  font-size: 1.1rem;
}

/* ── Methodology ── */
.methodology {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 0;
  background: var(--surface);
}

.methodology__header {
  text-align: center;
  margin-bottom: 4rem;
}

.methodology__timeline {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin-inline: auto;
  position: relative;
}

.methodology__step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.methodology__step::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 107, 0, 0.2));
}

.methodology__step:last-child::after {
  display: none;
}

.methodology__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--background);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.methodology__step:hover .methodology__num {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 0 24px var(--orange-glow);
}

.methodology__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.methodology__desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── CTA ── */
.cta {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding) 2rem;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta__subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-logo {
  width: clamp(280px, 38vw, 380px);
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
}

.footer__tagline {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--background);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.footer__social a:hover {
  color: var(--orange);
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-2px);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.footer__links a {
  display: block;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

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

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

.footer__legal a {
  font-size: 0.85rem;
  color: var(--gray-dark);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--gray);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid,
  .about__grid,
  .project__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual {
    height: 400px;
    order: -1;
  }

  .hero__laptop { width: 300px; right: 5%; }
  .hero__phone { width: 160px; left: 10%; }

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

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

  .methodology__timeline {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .methodology__step::after {
    display: none;
  }

  .project--reverse .project__inner {
    direction: ltr;
  }

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

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

  .timba__games-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timba__map {
    position: static;
    max-width: 360px;
    margin-inline: auto;
  }

  .timba__games-content {
    text-align: center;
  }

  .timba__games-grid {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

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

  .trust__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .float-card {
    display: none;
  }

  .hero__visual {
    height: 320px;
  }

  .hero__laptop { width: 240px; }
  .hero__phone { width: 130px; }

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

  .concursos-demo__compare {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .concursos-demo__arrow {
    transform: rotate(90deg);
  }

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

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

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