/* ===== VARIABLES ===== */
:root {
  --sage:#7EC8A4; --sage-light:#B8E8D0; --sage-dark:#4A9B74; --sage-pale:#EAF7F1;
  --lavender:#9B8EC4; --lavender-light:#D4CEEE; --lavender-pale:#F3F1FB;
  --coral:#F4A57A; --coral-light:#FDDBC8; --coral-pale:#FEF5EF;
  --cream:#FAFAF7; --cream-deep:#F0F0EA; --white:#FFFFFF;
  --ink:#1C1C2E; --ink-60:#5C5C7A; --ink-30:#ADADC4; --border:#E8E8F0;
  --radius-sm:8px; --radius-md:14px; --radius-lg:22px; --radius-xl:32px;
  --shadow-card:0 2px 16px rgba(28,28,46,.07);
  --shadow-hover:0 8px 40px rgba(126,200,164,.22);
  --shadow-soft:0 4px 24px rgba(126,200,164,.12);
}

/* ===== RESET GLOBAL ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/* ===== BODY ===== */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ===== ENLACES ===== */
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== BOTONES BASE ===== */
button {
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}
.btn-primary {
  background: var(--sage-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: .65rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  box-shadow: 0 4px 16px rgba(74,155,116,.3);
}
.btn-primary:hover {
  background: #3D8A65;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}
.btn-ghost {
  color: var(--ink-60);
  font-size: .9rem;
  font-weight: 500;
  padding: .6rem 1rem;
  border-radius: var(--radius-md);
  transition: all .2s;
  border: none;
  background: none;
}
.btn-ghost:hover {
  background: var(--border);
  color: var(--ink);
}
.btn-outline {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: .65rem 1.5rem;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
}
.btn-outline:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: var(--sage-pale);
}
.btn-lg {
  padding: .9rem 2.2rem;
  font-size: 1.02rem;
}
.btn-xl {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}
.full-w {
  width: 100%;
  justify-content: center;
}

/* ===== LAYOUT GENERAL Y SECTIONS ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .75rem;
}
.section-label.center, .center {
  text-align: center;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-title.center {
  text-align: center;
}

/* ===== NAV STYLES ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .4rem;
  letter-spacing: -.03em;
}
.logo-mark {
  color: var(--sage-dark);
  font-size: 1rem;
}
.logo span {
  color: var(--sage-dark);
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: 1rem;
  flex: 1;
}
.nav-links a {
  font-size: .9rem;
  color: var(--ink-60);
  transition: color .2s;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-ctas {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-left: auto;
}

/* ===== HERO ===== */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
  color: var(--sage-dark);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeDown .6s ease;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  animation: fadeUp .7s ease .1s both;
}
.gradient-text {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--lavender) 60%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-60);
  margin-bottom: 2rem;
  animation: fadeUp .7s ease .2s both;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeUp .7s ease .3s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  animation: fadeUp .7s ease .4s both;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.stat strong {
  font-size: 1.4rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.stat span {
  font-size: .8rem;
  color: var(--ink-60);
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}
.hero-visual {
  animation: fadeUp .8s ease .5s both;
}
.profile-card-demo {
  transition: box-shadow .25s, transform .25s, border-color .25s;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  max-width: 440px;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.profile-card-demo:hover {
  box-shadow: 0 0 0 2px var(--sage-light), 0 12px 40px rgba(74, 155, 116, .18);
  transform: translateY(-3px);
  border-color: var(--sage-light);
}
.pcd-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.pcd-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sage-dark);
  flex-shrink: 0;
}
.pcd-info {
  flex: 1;
}
.pcd-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.pcd-role {
  font-size: .82rem;
  color: var(--ink-60);
}
.pcd-badge {
  background: linear-gradient(135deg, var(--sage-pale), var(--lavender-pale));
  border: 1px solid var(--sage-light);
  border-radius: 100px;
  padding: .35rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.pcd-skills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.skill-pill {
  background: var(--lavender-pale);
  border: 1px solid var(--lavender-light);
  color: var(--lavender);
  border-radius: 100px;
  padding: .25rem .75rem;
  font-size: .78rem;
  font-weight: 500;
}
.pcd-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.pcd-stat {
  display: flex;
  flex-direction: column;
}
.pcd-stat strong {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.pcd-stat small {
  font-size: .72rem;
  color: var(--ink-60);
}
.pcd-embed-hint {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  font-size: .78rem;
  color: var(--ink-60);
  border: 1px dashed var(--border);
}
.hero-platforms {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.platform-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .3rem .85rem;
  font-size: .78rem;
  color: var(--ink-60);
  font-weight: 500;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
  background: var(--white);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.problem-text h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.problem-text p {
  color: var(--ink-60);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.problem-list li {
  font-size: .95rem;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.x {
  color: #E07070;
  font-weight: 700;
}
.vs-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.vs-col {
  flex: 1;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.vs-bad {
  background: #FEF5F5;
  border: 1px solid #F4D0D0;
}
.vs-good {
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
}
.vs-head {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.vs-bad .vs-head {
  color: #C05050;
}
.vs-good .vs-head {
  color: var(--sage-dark);
}
.vs-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.vs-col li {
  font-size: .83rem;
  color: var(--ink-60);
}
.vs-mid {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--ink-30);
  font-size: .9rem;
}

/* ===== HOW SECTION ===== */
.how-section {
  padding: 5rem 2rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all .3s;
}
.step-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--sage-light);
}
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink-30);
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.step-card p {
  font-size: .88rem;
  color: var(--ink-60);
  line-height: 1.6;
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--ink-30);
}

/* ===== BENEFICIOS ===== */
.benefits-section {
  background: var(--white);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}
.benefit-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-dark), var(--lavender));
  opacity: 0;
  transition: opacity .25s;
}
.benefit-card:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.benefit-card:hover::before {
  opacity: 1;
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sage-pale), var(--cream-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.35rem;
  border: 1px solid var(--sage-light);
}
.benefit-card h3 {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: 9px;
  color: var(--ink);
}
.benefit-card p {
  font-size: .875rem;
  color: var(--ink-60);
  line-height: 1.65;
}

/* ===== COMPARATIVA ===== */
.diff-section {
  background: var(--lavender-pale);
  padding: 5rem 2rem;
  border-top: 1px solid var(--lavender-light);
  border-bottom: 1px solid var(--lavender-light);
}
.diff-table-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
}
.diff-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.diff-table th, .diff-table td {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}
.diff-table th:first-child, .diff-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.diff-table th {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  background: var(--cream);
}
.highlight-col {
  background: var(--sage-pale) !important;
  color: var(--sage-dark) !important;
}
.check-cell {
  color: var(--sage-dark);
  font-weight: 700;
}
.x-cell {
  color: #D07070;
}
.half-cell {
  color: var(--ink-30);
}

/* ===== TESTIMONIOS ===== */
.testi-section {
  background: var(--white);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.testi-scroll {
  display: flex;
  gap: 20px;
  margin-top: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
}
.testi-scroll::-webkit-scrollbar {
  display: none;
}
.testi-scroll.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.testi-scroll.dragging .g-review-card {
  pointer-events: none;
}
.testi-scroll > .g-review-card {
  min-width: 320px;
  max-width: 360px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* ── Google Review Card ── */
.g-review-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px 24px 20px;
  transition: box-shadow .25s, transform .25s;
}
.g-review-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.g-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.g-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.av1 { background: linear-gradient(135deg, var(--sage-dark), var(--sage)); }
.av2 { background: linear-gradient(135deg, var(--lavender), #7B6DAA); }
.av3 { background: linear-gradient(135deg, #5a80a8, #2d508a); }
.av4 { background: linear-gradient(135deg, var(--sage), var(--sage-dark)); }
.av5 { background: linear-gradient(135deg, var(--coral), #d4845a); }
.g-review-meta {
  flex: 1;
  min-width: 0;
}
.g-review-name {
  font-size: .95rem;
  font-weight: 700;
  color: #202124;
  line-height: 1.3;
}
.g-review-date {
  font-size: .78rem;
  color: #70757a;
  margin-top: 1px;
}
.g-review-logo {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.g-review-stars {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-bottom: 12px;
}
.g-star {
  color: #fbbc04;
  font-size: 1.2rem;
  line-height: 1;
}
.g-verified {
  margin-left: 6px;
  flex-shrink: 0;
}
.g-review-text {
  font-size: .93rem;
  color: #3c4043;
  line-height: 1.65;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-review-readmore {
  font-size: .82rem;
  color: #1a73e8;
  cursor: default;
  font-weight: 500;
}

/* ===== FINAL CALL TO ACTION ===== */
.final-cta {
  background: linear-gradient(135deg, var(--sage-dark) 0%, #3D6B8C 100%);
  padding: 5rem 2rem;
  color: #fff;
  text-align: center;
}
.final-cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.final-cta p {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.final-cta .btn-cta-white {
  background: #fff;
  color: var(--sage-dark);
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.final-cta .btn-cta-white:hover {
  background: var(--sage-pale);
  transform: translateY(-2px);
}
.social-proof {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, .6);
  font-size: .88rem;
}
.social-proof strong {
  color: #fff;
}

/* ===== LANG SWITCHER & UTILS ===== */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .28rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-60);
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--sage-dark);
  color: #fff;
  border-color: var(--sage-dark);
}

/* CANVAS CURSOR LAYER */
#cursorCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}