/* =========================
   BASE VARIABLES & RESET
   ========================= */
:root {
  --bg: #ffffff;
  --bg-soft: #fcfcfd;
  --text: #0b0b0f;
  --muted: rgba(11, 11, 15, 0.72);
  --border: rgba(15, 23, 42, 0.10);
  --card: #f9fafb;
  --primary: #1F48FF;
  --container: 1100px;
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 22px 70px rgba(0, 0, 0, 0.10);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

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

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

.skip-link {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 700;
  left: 50%;
  padding: 10px 14px;
  position: absolute;
  top: -60px;
  transform: translateX(-50%);
  transition: top 0.25s ease;
  z-index: 9999;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(31, 72, 255, 0.18);
  outline: none;
}

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

/* =========================
   TYPOGRAPHY & UTILITIES
   ========================= */
.eyebrow {
  color: rgba(11, 11, 15, 0.60);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.10em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lead {
  color: rgba(11, 11, 15, 0.62);
  font-size: 16px;
  margin-bottom: 18px;
  margin-top: 10px;
  max-width: 62ch;
}

.muted {
  color: rgba(11, 11, 15, 0.62);
}

.small {
  color: rgba(11, 11, 15, 0.62);
  font-size: 12px;
  margin-top: 10px;
}

/* =========================
   BUTTONS
   ========================= */
.btn-primary,
.btn-secondary {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  letter-spacing: -0.01em;
  padding: 12px 18px;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  touch-action: manipulation;
  cursor: pointer;
  border-radius: 12px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(31, 72, 255, 0.28);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text);
}

.btn-secondary:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.btn-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
.header {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  z-index: 1000;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.header-content {
  align-items: center;
  display: flex;
  gap: 14px;
  height: var(--header-h);
  justify-content: space-between;
}

.logo {
  align-items: center;
  display: flex;
  height: 100%;
  padding: 6px 0;
}

.logo-img {
  height: 32px;
  transition: height 0.25s var(--ease), transform 0.25s var(--ease);
  width: auto;
}

.header.is-scrolled .logo-img {
  height: 28px;
}

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

.nav-link {
  border-radius: 10px;
  color: rgba(11, 11, 15, 0.72);
  font-size: 14px;
  font-weight: 650;
  padding: 10px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
  touch-action: manipulation;
  cursor: pointer;
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
}

.nav-link.active {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  align-items: center;
  background: #fff, radial-gradient(900px 500px at 30% -10%, rgba(31, 72, 255, 0.10), transparent 60%), radial-gradient(700px 400px at 85% 0%, rgba(0, 0, 0, 0.06), transparent 55%);
  display: flex;
  min-height: calc(100vh - var(--header-h));
  padding: 96px 0 84px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: 1.05fr 0.95fr;
}

.hero-content {
  animation: fadeUp 0.8s var(--ease) both;
  margin: 0;
  max-width: none;
  text-align: left;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero p {
  color: rgba(11, 11, 15, 0.62);
  font-size: 18px;
  margin: 0 0 26px;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.hero-visual {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

/* =========================
   CALENDAR MOCKUP
   ========================= */
.cal-mock {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.10);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  overflow: hidden;
}

.cal-left {
  background: #fff;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  padding: 26px 24px;
}

.cal-avatar {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  height: 36px;
  object-fit: contain;
  padding: 2px;
  width: 36px;
}

.cal-name {
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
  opacity: 0.6;
}

.cal-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 6px;
}

.cal-desc {
  font-size: 14px;
  margin-top: 10px;
  max-width: 28ch;
  opacity: 0.62;
}

.cal-pills {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 16px;
  padding: 6px;
}

.cal-pills .pill {
  background: transparent;
  border: 0;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.55;
  padding: 8px 10px;
  white-space: nowrap;
}

.cal-pills .pill.is-active {
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  opacity: 1;
}

.cal-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  opacity: 0.75;
}

.meta-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.meet-icon,
.tz-icon {
  flex: 0 0 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.9;
  width: 16px;
}

.cal-right {
  background: #fff;
  padding: 22px 22px 26px;
}

.cal-month {
  align-items: baseline;
  display: flex;
  font-size: 26px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cal-month small {
  font-size: 18px;
  opacity: 0.55;
}

.cal-week {
  display: grid;
  font-size: 12px;
  gap: 14px;
  grid-template-columns: repeat(7, 1fr);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  opacity: 0.55;
  text-transform: uppercase;
}

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

.day {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 10px;
  color: rgba(11, 11, 15, 0.9);
  display: grid;
  font-size: 15px;
  font-weight: 900;
  min-height: 54px;
  place-items: center;
}

.day:hover {
  background: rgba(15, 23, 42, 0.10);
}

.day.is-muted {
  background: rgba(15, 23, 42, 0.03);
  opacity: 0.35;
}

.day.is-selected {
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
}

.day.has-dot {
  position: relative;
}

.day.has-dot::after {
  background: var(--dot-color, rgba(31, 72, 255, 0.9));
  border-radius: 999px;
  bottom: 10px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75);
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 6px;
}

/* =========================
   SERVICES SECTION
   ========================= */
.services {
  padding: 76px 0;
}

.services-title {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-align: center;
}

.services-subtitle {
  color: rgba(11, 11, 15, 0.62);
  margin: 0 auto 42px;
  max-width: 720px;
  text-align: center;
}

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

.service-card {
  background: var(--card);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 190px;
  padding: 22px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: rgba(0, 0, 0, 0.10);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.service-card p {
  color: rgba(11, 11, 15, 0.62);
  font-size: 15px;
  margin-bottom: 16px;
}

.service-link {
  align-items: center;
  color: rgba(11, 11, 15, 0.86);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

/* Services Steps */
.services-steps {
  gap: 18px;
}

.service-step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 22px;
}

.step-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-badge {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  color: rgba(11, 11, 15, 0.70);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  width: fit-content;
}

.service-step h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.service-step p {
  color: rgba(11, 11, 15, 0.62);
  margin-bottom: 16px;
  margin-top: 10px;
}

/* Step Visuals (mantenido igual, sin cambios) */
.step-visual {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  height: 120px;
  margin-top: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.step-visual::before {
  background: rgba(31, 72, 255, 0.10);
  border-radius: 999px;
  content: "";
  filter: blur(30px);
  height: 180px;
  pointer-events: none;
  position: absolute;
  right: -60px;
  top: -40px;
  width: 180px;
}

/* CRM Visual */
.visual-crm .pipe {
  display: flex;
  gap: 10px;
  left: 16px;
  position: absolute;
  top: 18px;
}

.visual-crm .pipe .col {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  height: 72px;
  width: 34px;
}

.visual-crm .cards {
  bottom: 16px;
  display: grid;
  gap: 8px;
  position: absolute;
  right: 16px;
}

.visual-crm .cards .card {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  height: 16px;
}

.visual-crm .cards .card:nth-child(2) {
  opacity: 0.85;
  width: 72px;
}

.visual-crm .cards .card:nth-child(3) {
  opacity: 0.7;
  width: 60px;
}

/* Web Visual */
.visual-web .browser {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  inset: 14px;
  padding: 12px;
  position: absolute;
}

.visual-web .dots {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  display: block;
  height: 10px;
  margin-bottom: 12px;
  width: 54px;
}

.visual-web .line {
  background: rgba(15, 23, 42, 0.07);
  border-radius: 999px;
  display: block;
  height: 10px;
  margin-bottom: 10px;
  width: 70%;
}

.visual-web .block {
  background: rgba(31, 72, 255, 0.10);
  border: 1px solid rgba(31, 72, 255, 0.15);
  border-radius: 12px;
  display: block;
  height: 36px;
  width: 100%;
}

.visual-web .block.small {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  height: 18px;
  margin-top: 10px;
  width: 60%;
}

/* Social Visual */
.visual-social .grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  inset: 16px;
  position: absolute;
}

.visual-social .grid span {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
}

.visual-social .grid span:nth-child(2),
.visual-social .grid span:nth-child(6),
.visual-social .grid span:nth-child(8) {
  background: rgba(31, 72, 255, 0.10);
  border-color: rgba(31, 72, 255, 0.14);
}

/* Ads Visual */
.visual-ads .chart {
  align-items: flex-end;
  display: flex;
  gap: 10px;
  inset: 16px;
  position: absolute;
}

.visual-ads .bar {
  background: rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  width: 18%;
}

.visual-ads .bar:nth-child(1) {
  height: 32%;
}

.visual-ads .bar:nth-child(2) {
  height: 48%;
}

.visual-ads .bar:nth-child(3) {
  height: 38%;
}

.visual-ads .bar:nth-child(4) {
  background: rgba(31, 72, 255, 0.12);
  border-color: rgba(31, 72, 255, 0.16);
  height: 70%;
}

.visual-ads .trend {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  height: 2px;
  left: 8%;
  position: absolute;
  right: 8%;
  top: 28%;
  transform: rotate(-8deg);
}

/* =========================
   SECTIONS
   ========================= */
.section {
  padding: 86px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.section-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 1.2fr 0.8fr;
}

.section-copy h2 {
  font-size: 32px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-copy p {
  max-width: 62ch;
}

.bullets {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 6px;
}

.bullets li {
  align-items: flex-start;
  color: rgba(11, 11, 15, 0.85);
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.check {
  align-items: center;
  background: rgba(31, 72, 255, 0.14);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  flex: 0 0 22px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  margin-top: 1px;
  width: 22px;
}

.section-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.card-title {
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.card-note {
  color: rgba(11, 11, 15, 0.62);
  font-size: 14px;
  margin: 12px 0 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--bg-soft);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  font-size: 13px;
  padding: 8px 12px;
}

/* Features */
.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.feature {
  background: var(--card);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature p {
  color: rgba(11, 11, 15, 0.62);
  font-size: 14px;
}

/* =========================
   KOMMO CRM SECTION
   ========================= */
.kommo-card {
  height: 380px;
  overflow: hidden;
  padding: 5px;
}

.kommo-mock {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kommo-pipeline-wrap {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  flex: 1;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.kommo-pipeline-wrap::-webkit-scrollbar {
  height: 0;
}

/* Toolbar */
.kommo-toolbar {
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  justify-content: space-between;
  margin: -4px -4px 6px;
  padding: 6px 8px 8px;
}

.kommo-toolbar-left {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.kommo-toolbar-right {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.kommo-pill {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 6px;
  color: rgba(11, 11, 15, 0.78);
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.10em;
  padding: 4px 8px;
  text-transform: uppercase;
}

.kommo-pill-logo {
  display: block;
  height: 18px;
  width: auto;
}

.kommo-search {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 6px;
  height: 24px;
  width: min(280px, 38vw);
}

.kommo-btn {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 6px;
  color: rgba(11, 11, 15, 0.80);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  padding: 0 8px;
}

.kommo-btn.is-primary {
  background: rgba(31, 72, 255, 0.92);
  border-color: rgba(31, 72, 255, 0.92);
  color: #fff;
}

/* Pipeline */
.kommo-pipeline {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 100%;
  min-width: 0;
  width: 100%;
}

.kommo-col {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex: 0 0 140px;
  flex-direction: column;
  height: 250px;
  padding: 5px;
  position: relative;
  transition: all 0.2s ease;
}

.kommo-col:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.kommo-col::before {
  background: rgba(15, 23, 42, 0.12);
  border-radius: 14px 14px 0 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.kommo-col:nth-child(1)::before {
  background: linear-gradient(90deg, #10B981, #34D399);
}

.kommo-col:nth-child(2)::before {
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

.kommo-col:nth-child(3)::before {
  background: linear-gradient(90deg, #8B5CF6, #A78BFA);
}

.kommo-col:nth-child(4)::before {
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

.kommo-col-title {
  align-items: center;
  color: rgba(11, 11, 15, 0.70);
  display: flex;
  font-size: 10px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.05em;
  padding: 6px 4px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

/* Cards */
.kommo-col-cards {
  align-content: flex-start;
  align-items: stretch;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  overflow-y: auto;
  padding: 0 2px 4px;
}

.kommo-col-cards::-webkit-scrollbar {
  height: 0;
  width: 0;
}

/* Lead Blocks */
.kommo-deal.lead-block {
  align-items: center;
  background: hsla(var(--lead-h, 220), 70%, 96%, 1);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 6px;
  box-sizing: border-box;
  display: flex;
  height: 18px;
  justify-content: flex-start;
  max-height: 18px;
  min-height: 18px;
  overflow: hidden;
  padding: 2px 6px;
}

.kommo-deal.lead-block .deal-top {
  align-items: center;
  display: flex;
  gap: 8px;
  height: 100%;
  width: 100%;
}

.kommo-deal.lead-block .deal-avatar {
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.kommo-deal.lead-block .deal-meta,
.kommo-deal.lead-block .deal-name,
.kommo-deal.lead-block .deal-desc,
.kommo-deal.lead-block .deal-bottom {
  display: none;
}

@keyframes dealMove {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.kommo-deal.is-enter {
  animation: dealMove 0.35s ease-out both;
}

/* =========================
   KOMMO CERTIFICATE
   ========================= */
.feature-cert {
  align-items: center;
  background: #f4f6ff;
  border: 1px solid #e3e7ff;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  gap: 12px;
  padding: 10px 14px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  width: fit-content;
  touch-action: manipulation;
}

.feature-cert:hover {
  border-color: rgba(31, 72, 255, 0.28);
  box-shadow: 0 14px 34px rgba(31, 72, 255, 0.18);
  transform: translateY(-1px);
}

.feature-cert:focus-visible {
  outline: 3px solid rgba(31, 72, 255, 0.35);
  outline-offset: 3px;
}

.feature-cert-icon {
  align-items: center;
  background: rgba(31, 72, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.feature-cert-iso {
  display: block;
  height: 25px;
  width: 25px;
}

.feature-cert-text {
  color: #0f172a;
  font-weight: 600;
}

.feature-cert-cta {
  color: #1f48ff;
  font-weight: 700;
  margin-left: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Certificate Modal */
.cert-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 9999;
}

.cert-modal.is-open {
  display: block;
}

.cert-backdrop {
  backdrop-filter: blur(4px);
  background: rgba(15, 23, 42, 0.65);
  inset: 0;
  position: absolute;
}

.cert-content {
  background: #0b0533;
  border-radius: 20px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  margin: 6vh auto;
  max-width: 960px;
  padding: 16px;
  position: relative;
  z-index: 2;
}

.cert-content img {
  border-radius: 14px;
  display: block;
  width: 100%;
}

.cert-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  position: absolute;
  right: 14px;
  top: 10px;
  touch-action: manipulation;
}

/* =========================
   BENEFICIOS KOMMO (sin cambios)
   ========================= */
#beneficios-kommo {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 252, 1) 100%);
  padding: 70px 0;
  position: relative;
}

#beneficios-kommo::before {
  background: linear-gradient(90deg, #1F48FF, #7C3AED);
  border-radius: 1px;
  content: '';
  height: 2px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 70px;
}

#beneficios-kommo h2 {
  -webkit-text-fill-color: #0b0b0f;
  background: none;
  color: #0b0b0f;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  padding-top: 12px;
  position: relative;
  text-align: center;
}

#beneficios-kommo .muted {
  color: rgba(11, 11, 15, 0.7);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 580px;
  text-align: center;
}

#beneficios-kommo .feature-grid {
  gap: 20px;
  margin-top: 0;
}

#beneficios-kommo .feature {
  animation: fadeInUp 0.3s ease-out forwards;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(31, 72, 255, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  opacity: 0;
  overflow: hidden;
  padding: 28px 24px;
  position: relative;
  transition: all 0.25s ease;
}

#beneficios-kommo .feature:hover {
  border-color: rgba(31, 72, 255, 0.12);
  box-shadow: 0 12px 32px rgba(31, 72, 255, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
  transform: translateY(-4px);
}

#beneficios-kommo .feature h3 {
  align-items: center;
  color: #0b0b0f;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
}

#beneficios-kommo .feature h3::before {
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
  border-radius: 10px;
  content: '';
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  width: 32px;
}

#beneficios-kommo .feature:nth-child(1) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'%3E%3C/ellipse%3E%3Cpath d='M3 5v14a9 3 0 0 0 18 0V5'%3E%3C/path%3E%3Cpath d='M3 12a9 3 0 0 0 18 0'%3E%3C/path%3E%3C/svg%3E");
}

#beneficios-kommo .feature:nth-child(2) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'%3E%3C/polygon%3E%3C/svg%3E");
}

#beneficios-kommo .feature:nth-child(3) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'%3E%3C/path%3E%3Cpath d='m19 9-5 5-4-4-3 3'%3E%3C/path%3E%3C/svg%3E");
}

#beneficios-kommo .feature p {
  color: rgba(11, 11, 15, 0.75);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding-left: 44px;
}

#beneficios-kommo .feature::after {
  background: transparent;
  border-radius: 0 2px 2px 0;
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  top: 0;
  width: 3px;
}

#beneficios-kommo .feature:nth-child(1)::after {
  background: linear-gradient(to bottom, #10B981, #34D399);
}

#beneficios-kommo .feature:nth-child(2)::after {
  background: linear-gradient(to bottom, #3B82F6, #60A5FA);
}

#beneficios-kommo .feature:nth-child(3)::after {
  background: linear-gradient(to bottom, #8B5CF6, #A78BFA);
}

#beneficios-kommo .feature:hover::after {
  transition: width 0.2s ease;
  width: 4px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#beneficios-kommo .feature:nth-child(1) {
  animation-delay: 0.05s;
}

#beneficios-kommo .feature:nth-child(2) {
  animation-delay: 0.1s;
}

#beneficios-kommo .feature:nth-child(3) {
  animation-delay: 0.15s;
}

/* =========================
   DESARROLLO WEB - CODE SIMULATOR
   ========================= */
.dev-mockup {
  height: 320px;
  overflow: hidden;
  padding: 0;
}

.code-simulator {
  background: #fafafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.simulator-header {
  background: rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 12px 16px;
}

.filename {
  align-items: center;
  color: #000000;
  display: flex;
  font-family: 'SF Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
}

.filename::before {
  content: "📄";
  font-size: 14px;
}

.code-display {
  background: white;
  flex: 1;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow: auto;
  padding: 20px;
  position: relative;
  scroll-behavior: smooth;
  scrollbar-color: rgba(31, 72, 255, 0.2) transparent;
  scrollbar-width: thin;
}

.code-display::-webkit-scrollbar {
  width: 6px;
}

.code-display::-webkit-scrollbar-track {
  background: transparent;
}

.code-display::-webkit-scrollbar-thumb {
  background: rgba(31, 72, 255, 0.2);
  border-radius: 3px;
}

.code-display::-webkit-scrollbar-thumb:hover {
  background: rgba(31, 72, 255, 0.3);
}

.code-output {
  min-height: 100%;
}

.code-line {
  animation: fadeInLine 0.3s ease forwards;
  margin-bottom: 2px;
  opacity: 0;
}

@keyframes fadeInLine {
  to {
    opacity: 1;
  }
}

.code-tag {
  color: #1F48FF;
  font-weight: 600;
}

.code-attr {
  color: #7C3AED;
}

.code-string {
  color: #10B981;
}

.code-comment {
  color: rgba(15, 23, 42, 0.4);
  font-style: italic;
}

.code-text {
  color: #0b0b0f;
}

.typing-cursor {
  animation: blink 1s infinite;
  color: #1F48FF;
  font-family: 'SF Mono', monospace;
  font-weight: 900;
  position: absolute;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* =========================
   REDES SOCIALES MOCKUP
   ========================= */
.social-mockup {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 0;
}

.social-header {
  align-items: center;
  background: rgba(15, 23, 42, 0.02);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
}

.social-brand {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
}

.social-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.social-stats {
  background: rgba(16, 185, 129, 0.1);
  border-radius: 20px;
  color: #10B981;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
}

.social-timeline {
  max-height: 260px;
  min-height: 260px;
  overflow-y: auto;
  padding: 20px;
  scrollbar-color: rgba(31, 72, 255, 0.2) transparent;
  scrollbar-width: thin;
}

.social-timeline::-webkit-scrollbar {
  width: 4px;
}

.social-timeline::-webkit-scrollbar-track {
  background: transparent;
}

.social-timeline::-webkit-scrollbar-thumb {
  background: rgba(31, 72, 255, 0.2);
  border-radius: 2px;
}

.social-post {
  animation: socialPostAppear 0.4s ease forwards;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  margin-bottom: 16px;
  opacity: 0;
  padding: 14px;
  transform: translateY(10px);
}

.social-post-header {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.social-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("assets/logo/logo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.social-user {
  font-size: 13px;
  font-weight: 700;
}

.social-time {
  color: rgba(11, 11, 15, 0.5);
  font-size: 11px;
  margin-left: auto;
}

.social-content {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.social-hashtag {
  color: #1F48FF;
  font-weight: 600;
}

.social-actions {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 16px;
  padding-top: 10px;
}

.social-action {
  align-items: center;
  color: rgba(11, 11, 15, 0.6);
  display: flex;
  font-size: 12px;
  gap: 6px;
}

.social-action::before {
  font-size: 14px;
}

.social-action.likes::before {
  content: "❤️";
}

.social-action.comments::before {
  content: "💬";
}

.social-action.shares::before {
  content: "🔄";
}

.social-metrics {
  background: rgba(15, 23, 42, 0.02);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 20px;
}

.metric {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.metric:hover {
  box-shadow: 0 4px 12px rgba(31, 72, 255, 0.08);
  transform: translateY(-2px);
}

.metric-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.metric-label {
  color: rgba(11, 11, 15, 0.6);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

@keyframes metricPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================
   META ADS MOCKUP
   ========================= */
.ads-simple-mockup {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 300px;
  overflow: hidden;
  padding: 0;
}

.ads-simple-header {
  align-items: center;
  background: linear-gradient(90deg, rgba(31, 72, 255, 0.02), rgba(124, 58, 237, 0.02));
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}

.ads-platform-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url("assets/icon/meta.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.ads-platform-name {
  color: #0b0b0f;
  flex: 1;
  font-size: 12px;
  font-weight: 700;
}

.ads-status-badge {
  background: rgba(16, 185, 129, 0.08);
  border-radius: 12px;
  color: #10B981;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
}

.ads-simple-chart {
  align-items: flex-end;
  display: flex;
  flex: 1;
  gap: 6px;
  justify-content: space-between;
  min-height: 140px;
  padding: 16px 14px 8px;
}

.chart-bar-simple {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  min-width: 0;
  position: relative;
}

.bar-simple {
  background: #1F48FF;
  border-radius: 3px 3px 0 0;
  cursor: pointer;
  margin: 0 auto;
  min-height: 20px;
  position: relative;
  transition: height 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 80%;
}

.bar-simple:hover {
  background: rgba(31, 72, 255, 0.9);
  transform: scaleX(1.03);
}

.day-label {
  color: rgba(11, 11, 15, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 8px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.ads-simple-metrics {
  background: rgba(15, 23, 42, 0.01);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  padding: 10px 14px;
}

.ads-simple-metric {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.ads-simple-metric:hover {
  border-color: rgba(31, 72, 255, 0.1);
  transform: translateY(-1px);
}

.metric-row {
  align-items: baseline;
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 4px;
}

.metric-label {
  color: rgba(11, 11, 15, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-value {
  color: #0b0b0f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.metric-trend {
  border-radius: 8px;
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  transition: all 0.3s ease;
}

.metric-trend.is-positive {
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
}

@keyframes smoothRise {
  from {
    height: 0%;
    opacity: 0.3;
  }
  to {
    height: var(--final-height);
    opacity: 1;
  }
}

.bar-simple.rising {
  animation: smoothRise 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes smoothCount {
  from {
    opacity: 0.5;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.metric-value.counting {
  animation: smoothCount 0.6s ease;
}

.metric-trend.updating {
  animation: smoothCount 0.4s ease;
}

/* =========================
   CONTACT SECTION
   ========================= */
.section-contact {
  background: #fafbfd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90vh;
  padding: 20px 0 20px;
}

.contact-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 20px;
  width: 100%;
}

.contact-header {
  margin: 0 auto 20px;
  max-width: 600px;
  padding-top: 20px;
  text-align: center;
}

.contact-header h2 {
  color: #0b0b0f;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-subtitle {
  color: rgba(11, 11, 15, 0.7);
  font-size: 16px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 350px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.action-card {
  align-items: flex-start;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 20px;
  padding: 24px;
  transition: all 0.3s ease;
}

.action-card:hover {
  border-color: rgba(31, 72, 255, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 72, 255, 0.08);
}

.action-icon.calendly::before,
.action-icon.whatsapp::before {
  content: "";
  width: 24px;
  height: 24px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.action-icon.calendly::before {
  background-image: url("assets/icon/calendly.png");
}

.action-icon.whatsapp::before {
  background-image: url("assets/icon/whatsapp.png");
}

.action-content {
  flex: 1;
}

.action-content h3 {
  color: #0b0b0f;
  font-size: 18px;
  margin-bottom: 8px;
}

.action-content p {
  color: rgba(11, 11, 15, 0.6);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.btn-action {
  border-radius: 10px;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  text-align: center;
  transition: all 0.2s ease;
  width: 100%;
  touch-action: manipulation;
  cursor: pointer;
}

.btn-action.btn-primary {
  background: #1F48FF;
  color: white;
}

.btn-action.btn-primary:hover {
  background: #0d3aeb;
  box-shadow: 0 6px 20px rgba(31, 72, 255, 0.25);
  transform: translateY(-1px);
}

.btn-action.btn-secondary {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0b0b0f;
}

.btn-action.btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}

.contact-note {
  background: rgba(31, 72, 255, 0.03);
  border: 1px solid rgba(31, 72, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}

.contact-note p {
  color: rgba(11, 11, 15, 0.7);
  font-size: 14px;
  margin: 0;
  text-align: center;
}

.contact-note strong {
  color: #1F48FF;
}

.contact-form-container {
  height: 360px;
}

.form-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}

.form-header {
  margin-bottom: 24px;
  text-align: center;
}

.form-header h3 {
  color: #0b0b0f;
  font-size: 18px;
  margin-bottom: 6px;
}

.form-header p {
  color: rgba(11, 11, 15, 0.6);
  font-size: 13px;
}

.contact-form {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.form-group {
  margin-bottom: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  color: #0b0b0f;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  transition: all 0.2s ease;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(11, 11, 15, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1F48FF;
  box-shadow: 0 0 0 3px rgba(31, 72, 255, 0.15);
  outline: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b0b0f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
  cursor: pointer;
  padding-right: 40px;
}

.form-group textarea {
  font-family: inherit;
  max-height: 100px;
  min-height: 80px;
  resize: vertical;
}

.btn-submit {
  background: #1F48FF;
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  margin-top: auto;
  padding: 14px;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.btn-submit:hover {
  background: #0d3aeb;
  box-shadow: 0 6px 20px rgba(31, 72, 255, 0.25);
  transform: translateY(-1px);
}

.form-note {
  color: rgba(11, 11, 15, 0.4);
  font-size: 11px;
  line-height: 1.4;
  margin-top: 12px;
  text-align: center;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 40px 0 18px;
}

.footer-inner {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: 1.15fr 1fr;
}

.footer-brand {
  max-width: 560px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-logo img {
  height: 22px;
  width: auto;
  display: block;
}

.footer-logo:hover img {
  opacity: 0.9;
}

.footer-desc {
  color: rgba(11, 11, 15, 0.68);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 52ch;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 5px;
}

.footer-partner {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 5px;
  padding-top: 5px;
  width: fit-content;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.footer-partner img {
  height: 50px;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-partner img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-cols {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.footer-col {
  align-content: start;
  display: grid;
  gap: 5px;
}

.footer-title {
  color: rgba(11, 11, 15, 0.52);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.footer a:not(.btn-primary):not(.btn-secondary) {
  border-radius: 10px;
  color: rgba(11, 11, 15, 0.78);
  font-size: 14px;
  font-weight: 650;
  padding: 7px 10px;
  transition: background 0.18s ease, color 0.18s ease;
  width: fit-content;
  touch-action: manipulation;
  cursor: pointer;
}

.footer a:not(.btn-primary):not(.btn-secondary):hover {
  background: rgba(15, 23, 42, 0.04);
  color: #0b0b0f;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(11, 11, 15, 0.62);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 16px;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 12px;
}

.footer-legal {
  display: flex;
  gap: 10px;
}

.is-soon {
  opacity: 0.55;
  pointer-events: none;
}

/* =========================
   MOBILE MENU
   ========================= */
.menu-toggle {
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  touch-action: manipulation;
}

.menu-toggle:hover {
  background: rgba(15, 23, 42, 0.04);
}

.menu-toggle span {
  background: #0b0b0f;
  border-radius: 2px;
  height: 2px;
  width: 22px;
}

.mobile-menu {
  background: #fff;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  width: 82%;
  max-width: 360px;
  z-index: 2000;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  display: flex;
  justify-content: space-between;
  padding: 18px;
}

.menu-close {
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
  padding: 10px;
  touch-action: manipulation;
}

.menu-close:hover {
  background: rgba(15, 23, 42, 0.04);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.mobile-nav a {
  border-radius: 12px;
  color: rgba(11, 11, 15, 0.85);
  font-weight: 700;
  padding: 14px;
  touch-action: manipulation;
  cursor: pointer;
}

.mobile-nav a:hover {
  background: rgba(15, 23, 42, 0.04);
}

.mobile-cta {
  background: rgba(31, 72, 255, 0.14);
  border: 1px solid rgba(31, 72, 255, 0.35);
  color: var(--primary);
  margin-top: 10px;
}

.mobile-overlay {
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.25);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.mobile-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   ANIMATIONS (mantenido igual)
   ========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Animations */
@keyframes crmFlow {
  0% {
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
  }
  20% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(20px) scale(0.8);
  }
}

.visual-crm .cards .card {
  animation: crmFlow 2s ease-in-out infinite;
}

.visual-crm .cards .card:nth-child(1) {
  animation-delay: 0.2s;
}

.visual-crm .cards .card:nth-child(2) {
  animation-delay: 0.4s;
}

.visual-crm .cards .card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pipePulse {
  0%, 100% {
    background: rgba(15, 23, 42, 0.06);
    transform: scaleY(1);
  }
  50% {
    background: rgba(31, 72, 255, 0.1);
    transform: scaleY(1.1);
  }
}

.visual-crm .pipe .col {
  animation: pipePulse 3s ease-in-out infinite;
}

.visual-crm .pipe .col:nth-child(1) {
  animation-delay: 0s;
}

.visual-crm .pipe .col:nth-child(2) {
  animation-delay: 0.5s;
}

.visual-crm .pipe .col:nth-child(3) {
  animation-delay: 1s;
}

.visual-crm .pipe .col:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes typeWriter {
  0% {
    width: 0;
  }
  50%, 100% {
    width: 70%;
  }
}

.visual-web .line {
  animation: typeWriter 3s ease-in-out infinite;
  transform-origin: left;
}

@keyframes ctaPulse {
  0%, 100% {
    background: rgba(31, 72, 255, 0.1);
    border-color: rgba(31, 72, 255, 0.15);
  }
  50% {
    background: rgba(31, 72, 255, 0.15);
    border-color: rgba(31, 72, 255, 0.25);
  }
}

.visual-web .block {
  animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.visual-web .dots {
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes gridAppear {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.visual-social .grid span {
  animation: gridAppear 3s ease-in-out infinite;
}

.visual-social .grid span:nth-child(1) { animation-delay: 0s; }
.visual-social .grid span:nth-child(2) { animation-delay: 0.3s; }
.visual-social .grid span:nth-child(3) { animation-delay: 0.6s; }
.visual-social .grid span:nth-child(4) { animation-delay: 0.9s; }
.visual-social .grid span:nth-child(5) { animation-delay: 1.2s; }
.visual-social .grid span:nth-child(6) { animation-delay: 1.5s; }
.visual-social .grid span:nth-child(7) { animation-delay: 1.8s; }
.visual-social .grid span:nth-child(8) { animation-delay: 2.1s; }
.visual-social .grid span:nth-child(9) { animation-delay: 2.4s; }

@keyframes gridPulse {
  0%, 100% {
    background: rgba(31, 72, 255, 0.1);
    border-color: rgba(31, 72, 255, 0.14);
    transform: scale(1);
  }
  50% {
    background: rgba(31, 72, 255, 0.2);
    border-color: rgba(31, 72, 255, 0.25);
    transform: scale(1.05);
  }
}

.visual-social .grid span:nth-child(2),
.visual-social .grid span:nth-child(6),
.visual-social .grid span:nth-child(8) {
  animation-duration: 2s;
  animation-name: gridPulse;
}

@keyframes barGrow {
  0%, 100% {
    height: 32%;
  }
  25% {
    height: 48%;
  }
  50% {
    height: 38%;
  }
  75% {
    height: 70%;
  }
}

.visual-ads .bar:nth-child(1) {
  animation: barGrow 4s ease-in-out infinite;
}

.visual-ads .bar:nth-child(2) {
  animation: barGrow 4s ease-in-out infinite;
  animation-delay: 1s;
}

.visual-ads .bar:nth-child(3) {
  animation: barGrow 4s ease-in-out infinite;
  animation-delay: 2s;
}

.visual-ads .bar:nth-child(4) {
  animation: barGrow 4s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes trendBlink {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

.visual-ads .trend {
  animation: trendBlink 2s ease-in-out infinite;
}

.service-card:hover .step-visual {
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE DESIGN (OPTIMIZADO)
   ========================= */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .kommo-col {
    flex-basis: 190px;
  }
  
  .kommo-pipeline {
    min-width: 820px;
  }
  
  #beneficios-kommo .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .section-grid,
  .cta-wrap {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .footer-cols {
    grid-template-columns: 1fr;
  }
  
  .cal-mock {
    grid-template-columns: 1fr;
  }
  
  .cal-left {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    border-right: none;
  }
  
  .kommo-card {
    height: 280px;
  }
  
  .kommo-col {
    flex: 0 0 120px;
    height: 200px;
  }
  
  .kommo-deal.lead-block {
    height: 16px;
    max-height: 16px;
    min-height: 16px;
  }
  
  .contact-grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    height: auto;
  }
  
  .form-card {
    height: auto;
  }
  
  .contact-header h2 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  #beneficios-kommo {
    padding: 50px 0;
  }
  
  #beneficios-kommo h2 {
    font-size: 26px;
    margin-bottom: 8px;
    padding-top: 10px;
  }
  
  #beneficios-kommo .muted {
    font-size: 14px;
    margin-bottom: 28px;
    max-width: 90%;
  }
  
  #beneficios-kommo .feature-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }
  
  #beneficios-kommo .feature {
    border-radius: 14px;
    padding: 20px 18px;
  }
  
  #beneficios-kommo .feature h3 {
    font-size: 16px;
    gap: 10px;
    margin-bottom: 8px;
  }
  
  #beneficios-kommo .feature h3::before {
    background-size: 16px;
    border-radius: 8px;
    height: 28px;
    width: 28px;
  }
  
  #beneficios-kommo .feature p {
    font-size: 13.5px;
    line-height: 1.55;
    padding-left: 38px;
  }
  
  .social-timeline {
    max-height: 220px;
    min-height: 220px;
    padding: 16px;
  }
  
  .social-metrics {
    padding: 14px 16px;
  }
  
  .metric-value {
    font-size: 16px;
  }
  
  .ads-simple-mockup {
    height: 280px;
  }
  
  .ads-simple-chart {
    gap: 4px;
    min-height: 130px;
    padding: 14px 12px 6px;
  }
  
  .metric-value {
    font-size: 16px;
  }
  
  .metric-label {
    font-size: 9px;
  }
  
  .ads-simple-metrics {
    gap: 8px;
    padding: 8px 12px;
  }
  
  .section-contact {
    padding: 60px 0;
  }
}

@media (max-width: 600px) {
  .header-content {
    height: 64px;
  }
  
  .logo-img {
    height: 22px;
  }
  
  .header.is-scrolled .logo-img {
    height: 20px;
  }
  
  .hero {
    min-height: auto;
    padding: 72px 0 60px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section {
    padding: 64px 0;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  
  .hero-actions {
    width: 100%;
  }
  
  .cal-right {
    padding: 18px;
  }
  
  .cal-grid {
    gap: 10px;
  }
  
  .day {
    font-size: 14px;
    min-height: 44px;
  }
  
  .cal-month {
    font-size: 22px;
  }
  
  .cal-month small {
    font-size: 16px;
  }
  
  .day.has-dot::after {
    bottom: 8px;
  }
  
  .service-step {
    min-height: 240px;
  }
  
  .step-visual {
    height: 110px;
  }
  
  .kommo-toolbar-right {
    display: none;
  }
  
  .kommo-search {
    width: 46vw;
  }
  
  .kommo-pipeline {
    min-width: 640px;
  }
  
  .kommo-col {
    flex-basis: 165px;
    height: 420px;
  }
  
  .kommo-card {
    height: 240px;
  }
  
  .kommo-col {
    flex: 0 0 100px;
    height: 180px;
  }
  
  .kommo-deal.lead-block {
    height: 14px;
    max-height: 14px;
    min-height: 14px;
  }
  
  .action-card {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  
  .action-icon {
    margin: 0 auto;
  }
  
  .btn-action {
    padding: 14px 20px;
  }
  
  .form-card {
    padding: 20px;
  }
}

/* NUEVA MEDIA QUERY: servicios en 1 columna en móviles pequeños */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-step {
    min-height: auto;
  }
  
  .contact-header h2 {
    font-size: 26px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  
  .kommo-deal.is-enter {
    animation: none !important;
  }
  
  .visual-crm .cards .card,
  .visual-crm .pipe .col,
  .visual-web .line,
  .visual-web .block,
  .visual-web .dots,
  .visual-social .grid span,
  .visual-ads .bar,
  .visual-ads .trend {
    animation: none !important;
  }
}