/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #CDC1FF;
  --primary-light: #CDC1FF;
  --accent: #FFCCEA;
  --accent-bg: #fff4fa;
  --vibrant: #d97eb5;
  --vibrant-light: rgba(217,126,181,0.12);
  --highlight: #BFECFF;
  --bg: #ffffff;
  --bg-alt: #FFF6E3;
  --bg-dark: #2d2550;
  --text: #111111;
  --text-light: #ffffff;
  --text-muted: #666666;
  --border: #e8e8e8;
  --radius: 8px;
  --radius-pill: 47px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 em, h2 em {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; }

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ── Utilities ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(205,193,255,0.4); }
.btn-accent { background: var(--primary); color: #ffffff; }
.btn-accent:hover { box-shadow: 0 8px 24px rgba(205,193,255,0.4); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-outline:hover { background: var(--text); color: #fff; }

.hero .btn-outline {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.5);
}
.hero .btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  display: block;
  width: auto;
  max-height: 36px;
}

/* Por defecto (hero, fondo oscuro): logo claro visible, oscuro oculto */
/* Nota: especificidad .nav-logo .logo-* (0,2,0) > .nav-logo img (0,1,1) */
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark  { display: none; }

/* Al hacer scroll (nav blanca): logo oscuro visible, claro oculto */
.nav.scrolled .nav-logo .logo-light { display: none; }
.nav.scrolled .nav-logo .logo-dark  { display: block; }

/* Footer: logo claro siempre */
.footer .nav-logo img { max-height: 36px; }

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

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 8px; color: #ffffff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: 0.3s;
}

/* ── Hero ── */
/* ── Hero ── */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #0a0814;
}

/* Overlay uniforme oscuro — igual que Google Flow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 20, 0.68);
  z-index: 1;
  pointer-events: none;
}

.hero::after { content: none; }

/* ── Galería de fondo ── */
.hero-gallery {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 0;
}

.hero-gallery-row {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-gtrack {
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 4px 0;
}

.hg-left {
  animation-name: hg-scroll-left;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hg-right {
  animation-name: hg-scroll-right;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hg-card,
.hero-gtrack img {
  width: 180px;
  height: calc(33.33vh - 8px);
  min-height: 140px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

/* ── Hero centro — logo + tagline, nada más ── */
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(260px, 42vw, 560px);
  height: auto;
  margin-bottom: 36px;
  filter: drop-shadow(0 4px 32px rgba(0,0,0,0.5));
}

.hero-tagline {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,0.70);
  font-weight: 400;
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}

.hero-claim {
  display: inline-block;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  margin: 0;
  padding: 16px 36px;
  background: rgba(20, 16, 40, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}

.hero-claim em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  margin: 10px auto 0;
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.75);
  animation: scroll-drop 1.8s ease-in-out infinite;
}

@keyframes scroll-drop {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ── Statement Section ── */
.statement-section {
  background: var(--bg-dark);
  padding: 120px 0 100px;
  text-align: center;
}

.statement-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.statement-dot {
  color: var(--accent);
}

.statement-headline span:nth-child(2) {
  font-size: clamp(15px, 1.6vw, 20px);
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
  font-weight: 400;
}

.statement-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}

.statement-stat {
  flex: 1;
  padding: 0 48px;
}

.statement-number {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-number {
  display: inline;
}

.statement-unit {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent);
  vertical-align: baseline;
}

.statement-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.statement-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Ticker ── */
.ticker {
  background: var(--accent);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 40px;
  position: relative;
}

.ticker-track span::after {
  content: '✦';
  position: absolute;
  right: 0;
  color: var(--primary);
}

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

/* ── Sections ── */
.section { padding: 100px 0; }
.section-alt { background: var(--highlight); }
.section-light { background: var(--bg-alt); }

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

.section-header .tag { margin-bottom: 16px; }

.section-header h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 16px;
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ── Section Gradients ── */
.sg { pointer-events: none; display: block; height: 0; }

/* ── Process (Flow-style tabs) ── */
.section-proceso { background: var(--bg-alt); }

.proceso-tabs {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  margin-bottom: 60px;
  overflow-x: auto;
  scrollbar-width: none;
}
.proceso-tabs::-webkit-scrollbar { display: none; }

.proceso-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.28;
  transition: opacity 0.25s;
  text-align: left;
  flex-shrink: 0;
}
.proceso-tab + .proceso-tab {
  padding-left: 40px;
  border-left: 1px solid rgba(0,0,0,0.08);
}
.proceso-tab.active  { opacity: 1; }
.proceso-tab:hover:not(.active) { opacity: 0.6; }

.tab-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.tab-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.proceso-panels { position: relative; min-height: 340px; }

.proceso-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.proceso-panel.active { display: grid; }

.proceso-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.proceso-text strong { color: var(--text); }

.process-tools {
  font-size: 12px;
  color: #9CA3AF;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 20px;
}

.proceso-mockup {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.10);
}
.proceso-mockup svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 36px 40px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
}

.service-card:nth-child(1) { border-top-color: var(--primary-light); }
.service-card:nth-child(2) { border-top-color: var(--accent); }
.service-card:nth-child(3) { border-top-color: var(--highlight); }
.service-card:nth-child(4) { border-top-color: var(--primary); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(205,193,255,0.18);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Para quién ── */
.pq-section {
  position: relative;
  background: linear-gradient(160deg, #edeaff 0%, #CDC1FF 45%, #BFECFF 100%);
  padding: 100px 0;
  overflow: hidden;
}

.pq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/para-quien-bg.svg') center/cover no-repeat;
  opacity: 0.06;
}

.pq-content {
  position: relative;
  z-index: 1;
}

.pq-header h2 {
  color: var(--bg-dark);
  font-size: clamp(32px, 4.5vw, 56px);
}

.pq-tag {
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
}

.pq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-radius: 20px;
  overflow: hidden;
}

.pq-card {
  padding: 40px 32px;
  background: rgba(255,255,255,0.55);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.8);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.pq-card:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45,37,80,0.12);
}

.pq-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1;
}

.pq-card h3 {
  font-size: 20px;
  color: var(--bg-dark);
  margin-bottom: 12px;
}

.pq-card p {
  font-size: 14px;
  color: rgba(45,37,80,0.65);
  line-height: 1.75;
}

/* ── Differentiator ── */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diff-content .tag { margin-bottom: 16px; }

.diff-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
}

.diff-content h2 em {
  color: var(--primary);
}

.diff-content > p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.diff-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.diff-col-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
}

.diff-col-bad { color: var(--text-muted); border-color: var(--border); }
.diff-col-good { color: var(--primary); border-color: var(--primary); }

.diff-check-list { list-style: none; }

.diff-check-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.diff-no::before {
  content: '✗';
  color: #D1D5DB;
  font-weight: 700;
  flex-shrink: 0;
}

.diff-yes::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.diff-visual {
  background: var(--highlight);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
}

.diff-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  height: 220px;
  margin-bottom: 24px;
}

.diff-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.diff-bar {
  width: 56px;
  border-radius: 8px 8px 0 0;
  transition: height 1s ease;
}

.diff-bar.others { background: rgba(0,0,0,0.1); }

.diff-bar.predicta {
  background: var(--primary);
  position: relative;
}

.diff-bar.predicta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  border-radius: 8px 8px 0 0;
}

.diff-bar-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 500;
}

.diff-caption {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 24px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
  color: var(--text);
}

.faq-item summary:hover { color: var(--primary); }

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 640px;
}

/* ── CTA ── */
.cta {
  text-align: center;
  padding: 140px 0;
  background: var(--highlight);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.cta h2 {
  font-size: clamp(36px, 5vw, 68px);
  margin-bottom: 24px;
  color: var(--text);
}

.cta h2 em {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  color: var(--primary);
}

.cta > .container > p {
  font-size: 18px;
  color: rgba(0,0,0,0.6);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { margin-bottom: 16px; }

.cta-note {
  font-size: 14px;
  color: rgba(0,0,0,0.45);
}

/* ── Work Showcase ── */
.work-showcase {
  background: var(--bg-dark);
  padding: 80px 0 80px;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.work-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.work-title {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 56px;
}

/* ── 3-Column infinite vertical scroll ── */
@keyframes scroll-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.work-flow {
  display: flex;
  gap: 16px;
  justify-content: center;
  height: 620px;
  overflow: hidden;
  position: relative;
  padding: 0 40px;
}

/* Gradient fade top & bottom */
.work-flow::before,
.work-flow::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 140px;
  z-index: 10;
  pointer-events: none;
}
.work-flow::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 100%);
}
.work-flow::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
}

.work-col {
  flex: 1;
  max-width: 280px;
  min-width: 0;
  overflow: hidden;
}

.work-col-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Use longhands so inline animation-duration overrides cleanly */
  animation-name: scroll-up;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 24s; /* fallback if inline style fails */
}

.work-flow-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.work-flow-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-flow-card:hover img {
  transform: scale(1.06);
}

.wf-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
}

/* Pause on hover */
.work-flow:hover .work-col-track {
  animation-play-state: paused;
}

/* Mobile: 2 columns only */
@media (max-width: 640px) {
  .work-flow { gap: 10px; padding: 0 16px; height: 520px; }
  .work-col:last-child { display: none; }
  .work-col { max-width: 50%; }
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
  font-size: 14px;
}

.footer .nav-logo { color: var(--text-light); }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand p {
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-nav h4 {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; }

.footer-nav a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--text-light); }

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.active a { color: var(--text-muted); }

  .hero-logo { width: clamp(200px, 60vw, 340px); }
  .hero-claim { font-size: 16px; padding: 12px 24px; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-gtrack img { height: 140px; width: 112px; }

  .section { padding: 72px 0; }

  .proceso-panel.active { grid-template-columns: 1fr; }
  .proceso-mockup { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .pq-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; gap: 40px; }
  .diff-comparison { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .stat-number { font-size: 36px; }
}

@media (max-width: 480px) {
  .hero-brand { font-size: 44px; }
  .section-header h2 { font-size: 24px; }
  .service-card { padding: 28px 20px; }
  .proceso-tab { padding: 16px 24px 16px 0; }
  .proceso-tab + .proceso-tab { padding-left: 24px; }
  .tab-name { font-size: 15px; }
  .sg-cream-white, .sg-white-lavender, .sg-lavender-white { height: 48px; }
  .sg-white-dark, .sg-dark-white { height: 80px; }
  .pq-grid { grid-template-columns: 1fr; }
  .pq-card { padding: 28px 24px; }
}

/* ── Service Mockups ── */
.svc-mockup {
  margin-top: 20px;
  background: #f0eeff;
  border: 1px solid rgba(205,193,255,0.15);
  border-radius: 10px;
  padding: 14px 16px;
}

.mockup-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 11px;
}

.mockup-footer {
  font-size: 10px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 9px;
}

/* — Trends — */
.trend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.trend-topic {
  font-size: 10.5px;
  color: var(--text);
  font-weight: 500;
  width: 118px;
  flex-shrink: 0;
}

.trend-bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(205,193,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}

.trend-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
}

.trend-pct {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--primary);
  width: 42px;
  text-align: right;
  flex-shrink: 0;
}

/* — Retention chart — */
.retention-svg {
  width: 100%;
  display: block;
  margin-top: 4px;
}

.retention-legend {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 2px;
}

.ret-leg {
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ret-leg::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
}

.ret-leg-good { color: var(--primary); }
.ret-leg-good::before { background: var(--primary); }

.ret-leg-bad { color: var(--text-muted); }
.ret-leg-bad::before {
  background: repeating-linear-gradient(90deg, #d4b6a5 0, #d4b6a5 4px, transparent 4px, transparent 7px);
}

/* — Calendar — */
.cal-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 5px;
}

.cal-head span {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cal-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-slot {
  height: 36px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.cal-slot b {
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
}

.cal-slot small {
  font-size: 7.5px;
  line-height: 1;
  opacity: 0.75;
}

.slot-ig { background: rgba(121,165,175,0.22); color: #5a8d99; }
.slot-tt { background: rgba(211,114,20,0.18); color: var(--vibrant); }
.slot-yt { background: rgba(247,225,154,0.7); color: #8a6e00; border: 1px solid #e8d17a; }
.slot-empty { background: rgba(121,165,175,0.05); border: 1px dashed rgba(121,165,175,0.3); }

.cal-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  flex-wrap: wrap;
}

.cal-legend span {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
}

.cl-ig { background: rgba(121,165,175,0.22); color: #5a8d99; }
.cl-tt { background: rgba(211,114,20,0.18); color: var(--vibrant); }
.cl-yt { background: rgba(247,225,154,0.7); color: #8a6e00; }
.cl-note { font-size: 9px; color: var(--text-muted); font-style: italic; padding: 0 !important; background: none !important; }

/* — Before / After — */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ba-col-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 9px;
  text-align: center;
}

.ba-after {
  border-left: 1px solid var(--border);
  padding-left: 10px;
}

.ba-metric {
  margin-bottom: 9px;
  text-align: center;
}

.ba-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.ba-good { color: var(--vibrant); }
.ba-muted { color: var(--text-muted); }

.ba-key {
  font-size: 8.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.2;
}

