:root {
  --bg-primary: #020515;
  --bg-secondary: #070a1b;
  --bg-card: #0c1126;
  --bg-light: #f4f7fb;
  --text-primary: #f8f8fa;
  --text-secondary: #a7aec2;
  --text-dark: #091021;
  --cyan: #02e1ed;
  --blue: #123af4;
  --violet: #7f24e9;
  --magenta: #e817d5;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(9, 16, 33, 0.12);
  --gradient: linear-gradient(120deg, #7f24e9 0%, #123af4 48%, #02e1ed 100%);
  --shadow: 0 24px 70px rgba(1, 4, 20, 0.18);
  --radius-large: 24px;
  --radius-medium: 18px;
  --container: 1240px;
  --header-height: 82px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.2vw, 5.3rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  color: #4c556c;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 112px;
}

.section-dark {
  position: relative;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 80% 10%, rgba(18, 58, 244, 0.14), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(127, 36, 233, 0.12), transparent 28%),
    var(--bg-primary);
}

.section-dark p {
  color: var(--text-secondary);
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--blue);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.scrolled {
  background: rgba(2, 5, 21, 0.94);
  border-color: var(--border-dark);
  backdrop-filter: blur(18px);
}

body.menu-open .site-header {
  background: #020515;
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 245px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(248, 248, 250, 0.78);
  font-size: 0.93rem;
  font-weight: 600;
}

.main-nav > a:not(.button) {
  position: relative;
  transition: color 180ms ease;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover {
  color: white;
}

.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--border-dark);
  color: white;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 16px 40px rgba(18, 58, 244, 0.25);
}

.button-primary:hover {
  box-shadow: 0 20px 52px rgba(18, 58, 244, 0.36);
}

.button-secondary {
  color: inherit;
  border-color: rgba(127, 36, 233, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(2, 225, 237, 0.42);
  background: rgba(2, 225, 237, 0.06);
}

.button-small {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 0.86rem;
}

.nav-cta {
  min-width: 228px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.hero-actions .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 760px;
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 110px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 560px;
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 64px;
}

.hero-description {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  padding: 7px 12px;
  color: #c4cbe0;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--cyan);
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.gradient-text {
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.34;
  pointer-events: none;
}

.hero-glow-one {
  top: 140px;
  right: -100px;
  width: 390px;
  height: 390px;
  background: var(--blue);
}

.hero-glow-two {
  bottom: 30px;
  left: -170px;
  width: 340px;
  height: 340px;
  background: var(--violet);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.pixel-system {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 520px;
  place-items: center;
}

.ecosystem-card {
  position: relative;
  width: min(100%, 490px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 10, 27, 0.76);
  border-radius: 36px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 50px 100px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.ecosystem-label {
  position: absolute;
  top: 28px;
  left: 30px;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecosystem-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 154px;
  height: 154px;
  align-items: center;
  justify-content: center;
  color: white;
  background:
    linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
    var(--gradient) border-box;
  border: 2px solid transparent;
  border-radius: 30px;
  box-shadow: 0 0 70px rgba(18, 58, 244, 0.2);
  font-size: 1.45rem;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ecosystem-core span,
.ecosystem-core strong {
  transform: rotate(-45deg);
}

.ecosystem-core strong {
  color: var(--cyan);
}

.ecosystem-item {
  position: absolute;
  z-index: 2;
  padding: 10px 13px;
  color: #d8dded;
  border: 1px solid rgba(2, 225, 237, 0.18);
  background: rgba(12, 17, 38, 0.94);
  border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(2, 225, 237, 0.025);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.item-web {
  top: 25%;
  left: 7%;
}

.item-meta {
  top: 16%;
  right: 12%;
}

.item-google {
  top: 48%;
  right: 5%;
}

.item-whatsapp {
  right: 12%;
  bottom: 14%;
}

.item-data {
  bottom: 14%;
  left: 9%;
}

.ecosystem-connections {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ecosystem-connections line {
  stroke: url(#ecosystem-line-gradient);
  stroke-width: 1.15;
  stroke-linecap: round;
  opacity: 0.78;
  vector-effect: non-scaling-stroke;
}

.ecosystem-connections circle {
  fill: var(--cyan);
  opacity: 0.95;
  filter: drop-shadow(0 0 4px rgba(2, 225, 237, 0.85));
}

.pixel-cloud {
  position: absolute;
  width: 180px;
  height: 180px;
  opacity: 0.7;
  background-image:
    radial-gradient(circle, var(--cyan) 0 3px, transparent 4px),
    radial-gradient(circle, var(--violet) 0 2px, transparent 3px),
    radial-gradient(circle, var(--blue) 0 2px, transparent 3px);
  background-position: 0 0, 18px 16px, 34px 4px;
  background-size: 38px 38px, 42px 42px, 46px 46px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 72%);
  animation: pixelFloat 8s ease-in-out infinite;
}

.pixel-cloud-left {
  bottom: 0;
  left: -65px;
}

.pixel-cloud-right {
  top: -30px;
  right: -80px;
  animation-delay: -4s;
}

@keyframes pixelFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }

  50% {
    transform: translate3d(12px, -14px, 0) rotate(4deg);
  }
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.04rem;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.section-heading-left p {
  margin: 0;
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.service-card,
.use-card,
.plan-card,
.process-step {
  border-radius: var(--radius-medium);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.info-card:hover,
.service-card:hover,
.use-card:hover,
.plan-card:hover {
  transform: translateY(-5px);
}

.info-card {
  min-height: 235px;
  padding: 26px;
  border: 1px solid var(--border-light);
  background: white;
  box-shadow: 0 18px 50px rgba(9, 16, 33, 0.05);
}

.info-card:hover {
  border-color: rgba(18, 58, 244, 0.25);
  box-shadow: 0 24px 65px rgba(9, 16, 33, 0.09);
}

.card-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.statement {
  max-width: 900px;
  margin: 38px auto 0;
  padding: 24px 30px;
  color: var(--text-primary);
  background: var(--gradient);
  border-radius: var(--radius-medium);
  box-shadow: 0 20px 55px rgba(18, 58, 244, 0.2);
  text-align: center;
}

.statement p {
  margin: 0;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
}

.section-solution {
  background: white;
}

.split-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 80px;
}

.align-center {
  align-items: center;
}

.before-after {
  display: grid;
  padding: 30px;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  border-radius: var(--radius-large);
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
}

.comparison-column {
  padding: 22px;
  border: 1px solid rgba(9, 16, 33, 0.08);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
}

.comparison-column-active {
  color: white;
  background: var(--bg-secondary);
  border-color: rgba(2, 225, 237, 0.22);
}

.comparison-title {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.comparison-column-active .comparison-title {
  color: var(--cyan);
}

.comparison-column li {
  position: relative;
  padding: 9px 0 9px 19px;
  color: #596177;
  font-size: 0.9rem;
}

.comparison-column-active li {
  color: #c6cde0;
}

.comparison-column li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: currentColor;
  border-radius: 2px;
}

.comparison-arrow {
  align-self: center;
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 800;
}

.service-grid {
  align-items: stretch;
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--border-dark);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--bg-card);
}

.service-card:hover {
  border-color: rgba(2, 225, 237, 0.3);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.22);
}

.service-code {
  display: inline-flex;
  min-width: 52px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  padding: 7px 10px;
  color: var(--cyan);
  border: 1px solid rgba(2, 225, 237, 0.18);
  background: rgba(2, 225, 237, 0.06);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card h3 {
  color: white;
}

.service-card-future {
  border-style: dashed;
}

.service-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  color: #d8dcef;
  background: rgba(127, 36, 233, 0.16);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
}

.plans-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 580px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--border-light);
  background: white;
  box-shadow: 0 20px 55px rgba(9, 16, 33, 0.06);
}

.plan-card-featured {
  color: white;
  background:
    radial-gradient(circle at 100% 0, rgba(2, 225, 237, 0.16), transparent 26%),
    var(--bg-secondary);
  border-color: rgba(2, 225, 237, 0.28);
  transform: translateY(-14px);
}

.plan-card-featured:hover {
  transform: translateY(-19px);
}

.plan-card-featured p,
.plan-card-featured li {
  color: #bec6db;
}

.plan-featured-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  color: var(--bg-primary);
  background: var(--cyan);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.plan-tag {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card-featured .plan-tag {
  color: var(--cyan);
}

.plan-card h3 {
  font-size: 1.65rem;
}

.plan-card ul {
  margin: 24px 0 34px;
}

.plan-card li {
  position: relative;
  padding: 9px 0 9px 23px;
  color: #555e73;
}

.plan-card li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--gradient);
  border-radius: 3px;
}

.plan-card .button {
  margin-top: auto;
}

.section-process {
  background: white;
}

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

.process-step {
  position: relative;
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
}

.process-step::after {
  position: absolute;
  top: 43px;
  right: -14px;
  z-index: 2;
  width: 28px;
  height: 2px;
  content: "";
  background: var(--gradient);
}

.process-step:last-child::after {
  display: none;
}

.process-step > span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  grid-template-columns: 38px 1fr;
  gap: 16px;
}

.feature-item > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  background: var(--cyan);
  border-radius: 10px;
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 5px;
  color: white;
  font-size: 1rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
}

.use-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--border-light);
  background: white;
  box-shadow: 0 18px 50px rgba(9, 16, 33, 0.05);
}

.use-card::before {
  display: block;
  width: 38px;
  height: 5px;
  margin-bottom: 30px;
  content: "";
  background: var(--gradient);
  border-radius: 999px;
}

.section-faq {
  background: white;
}

.faq-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  border-radius: 16px;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border: 0;
  color: var(--text-dark);
  background: transparent;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--gradient);
  border-radius: 8px;
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > p {
  min-height: 0;
  margin: 0;
  padding-inline: 24px;
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer > p {
  padding-bottom: 22px;
}

.section-contact {
  color: white;
  background:
    radial-gradient(circle at 15% 20%, rgba(127, 36, 233, 0.22), transparent 25%),
    radial-gradient(circle at 85% 85%, rgba(2, 225, 237, 0.16), transparent 28%),
    var(--bg-primary);
}

.section-contact p {
  color: var(--text-secondary);
}

.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.direct-contact {
  display: inline-flex;
  flex-direction: column;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid rgba(2, 225, 237, 0.2);
  background: rgba(2, 225, 237, 0.05);
  border-radius: 16px;
}

.direct-contact span {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.direct-contact strong {
  margin-top: 4px;
  font-size: 1.22rem;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.055);
  border-radius: var(--radius-large);
  backdrop-filter: blur(18px);
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dfe4f2;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: white;
  border: 1px solid var(--border-dark);
  outline: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding-inline: 14px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.contact-form select option {
  color: var(--text-dark);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(2, 225, 237, 0.58);
  box-shadow: 0 0 0 4px rgba(2, 225, 237, 0.08);
}

.contact-form .button {
  margin-top: 22px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.76rem;
  text-align: center;
}

.site-footer {
  padding-top: 72px;
  color: white;
  background: #01030d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 50px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-grid p {
  max-width: 400px;
  color: var(--text-secondary);
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
  color: #c7cee0;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  padding-block: 22px;
  color: #747d96;
  border-top: 1px solid var(--border-dark);
  font-size: 0.8rem;
}

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  color: #01180d;
  background: #25d366;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  font-size: 0.8rem;
  font-weight: 900;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.floating-whatsapp.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition:
    transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 600ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 18px;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 30px;
  }

  .cards-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-step::after {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding-block: 82px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 1200;
    top: var(--header-height);
    right: 0;
    bottom: auto;
    left: 0;
    display: grid;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    align-content: start;
    gap: 10px;
    padding: 28px 24px 42px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: white;
    background: #020515;
    background-image:
      radial-gradient(circle at 100% 0%, rgba(18, 58, 244, 0.18), transparent 32%),
      radial-gradient(circle at 0% 100%, rgba(127, 36, 233, 0.12), transparent 34%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
    isolation: isolate;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    transition:
      transform 220ms ease,
      opacity 180ms ease,
      visibility 0s linear 220ms;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition:
      transform 220ms ease,
      opacity 180ms ease,
      visibility 0s;
  }

  .main-nav > a {
    position: relative;
    z-index: 2;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.02rem;
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 16px;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 70px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .pixel-system {
    min-height: 430px;
  }

  .ecosystem-card {
    max-width: 430px;
  }

  .split-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

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

  .plan-card {
    min-height: auto;
  }

  .plan-card-featured,
  .plan-card-featured:hover {
    transform: none;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding-block: 68px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .brand img {
    width: auto;
    height: 40px;
    max-width: 175px;
  }

  .hero {
    padding-bottom: 72px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
    white-space: normal;
  }

  .hero-visual {
    min-height: 370px;
  }

  .pixel-system {
    min-height: 370px;
  }

  .ecosystem-card {
    max-width: 360px;
    border-radius: 26px;
  }

  .ecosystem-core {
    width: 126px;
    height: 126px;
    border-radius: 24px;
    font-size: 1.14rem;
  }

  .ecosystem-item {
    padding: 8px 9px;
    font-size: 0.57rem;
  }

  .cards-grid-four,
  .cards-grid-three,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .service-card,
  .use-card,
  .process-step {
    min-height: auto;
  }

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

  .form-field-full {
    grid-column: auto;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}


@media (max-width: 390px) {
  .brand img {
    height: 36px;
    max-width: 155px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}


/* =========================================================
   PYMEVÍA V5 — CONTENIDO COMERCIAL + GOOGLE + MEDICIÓN
   ========================================================= */

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 4.75vw, 4.95rem);
}

.hero-description {
  color: #b8c1da;
}

.nav-cta {
  min-width: 232px;
  white-space: nowrap;
}

.evidence-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(127, 36, 233, 0.08), transparent 22%),
    white;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: center;
}

.measurement-funnel {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
}

.funnel-stage {
  min-height: 180px;
  padding: 22px 18px;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  border-radius: 18px;
}

.funnel-stage span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.funnel-stage strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.funnel-stage small {
  color: #687188;
  line-height: 1.45;
}

.funnel-arrow {
  align-self: center;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 800;
}

.measurement-note {
  grid-column: 2;
  padding: 22px 24px;
  border-left: 4px solid var(--cyan);
  background: #f0f4ff;
  border-radius: 0 16px 16px 0;
}

.measurement-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text-dark);
}

.measurement-note p {
  margin: 0;
  font-size: 0.92rem;
}

.section-google {
  overflow: hidden;
}

.google-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  gap: 74px;
}

.google-copy h2 {
  max-width: 690px;
}

.google-copy > p {
  max-width: 690px;
}

.google-benefits {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.google-benefits article {
  display: grid;
  padding: 18px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 15px;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.google-benefits article > span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.google-benefits h3 {
  margin-bottom: 5px;
  color: white;
  font-size: 0.96rem;
}

.google-benefits p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.google-phrase {
  margin: 27px 0 0;
  padding: 18px 20px;
  color: #eaf0ff !important;
  border: 1px solid rgba(2, 225, 237, 0.2);
  background: rgba(2, 225, 237, 0.055);
  border-radius: 15px;
  font-weight: 700;
}

.google-demo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 85% 15%, rgba(18, 58, 244, 0.22), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(127, 36, 233, 0.2), transparent 28%),
    #090d21;
  border-radius: 34px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 44px 100px rgba(0, 0, 0, 0.35);
}

.demo-glow {
  position: absolute;
  top: 160px;
  right: 20px;
  width: 260px;
  height: 260px;
  background: rgba(2, 225, 237, 0.12);
  border-radius: 50%;
  filter: blur(80px);
}

.search-browser {
  position: absolute;
  z-index: 3;
  top: 38px;
  right: 38px;
  left: 38px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  transform: translateY(0);
}

.browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  color: #8892aa;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  display: block;
  width: 7px;
  height: 7px;
  background: #566078;
  border-radius: 50%;
}

.search-bar-demo {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 0 16px;
  color: #eef3ff;
  border: 1px solid rgba(2, 225, 237, 0.24);
  background: rgba(2, 5, 21, 0.88);
  border-radius: 14px;
  gap: 12px;
}

.search-symbol {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

.search-symbol::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  content: "";
  background: var(--cyan);
  border-radius: 99px;
  transform: rotate(45deg);
}

.search-query-text {
  min-height: 1.4em;
  font-size: clamp(0.76rem, 1.15vw, 0.95rem);
  font-weight: 600;
}

.search-query-text::after {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 3px;
  content: "";
  background: var(--cyan);
  vertical-align: -2px;
  animation: searchCursor 0.8s steps(1) infinite;
}

.search-results-demo {
  display: grid;
  margin-top: 16px;
  gap: 8px;
}

.result-line {
  width: 92%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.result-line-short {
  width: 48%;
}

.result-line-medium {
  width: 70%;
}

.local-result-demo {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 66px;
  left: 38px;
  display: grid;
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 24px;
  grid-template-columns: 0.86fr 1.14fr;
  overflow: hidden;
}

.map-demo {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #10152b;
  background-size: 34px 34px;
}

.map-road {
  position: absolute;
  display: block;
  height: 3px;
  background: rgba(167, 174, 194, 0.18);
  border-radius: 999px;
}

.road-one {
  top: 32%;
  left: -10%;
  width: 125%;
  transform: rotate(25deg);
}

.road-two {
  top: 62%;
  left: -15%;
  width: 140%;
  transform: rotate(-18deg);
}

.road-three {
  top: 8%;
  left: 48%;
  width: 3px;
  height: 110%;
  transform: rotate(9deg);
}

.map-pin {
  position: absolute;
  display: block;
  width: 17px;
  height: 17px;
  background: #424b66;
  border: 3px solid #171c34;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin-one {
  top: 27%;
  left: 24%;
}

.pin-two {
  right: 21%;
  bottom: 22%;
}

.pin-main {
  top: 47%;
  left: 52%;
  width: 24px;
  height: 24px;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(2, 225, 237, 0.65);
  animation: pinPulse 2.2s ease-in-out infinite;
}

.profile-demo-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.profile-demo-head {
  display: grid;
  align-items: center;
  grid-template-columns: 58px 1fr;
  gap: 15px;
}

.profile-demo-logo {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--gradient);
  border-radius: 17px;
  font-weight: 800;
}

.profile-demo-category {
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-demo-card h3 {
  margin: 4px 0;
  color: white;
  font-size: 1.32rem;
}

.rating-demo {
  margin: 0;
  color: #aeb7cc !important;
  font-size: 0.72rem;
}

.rating-demo span {
  color: #f4c95d;
  letter-spacing: 0.06em;
}

.rating-demo strong {
  color: white;
}

.profile-demo-data {
  display: grid;
  margin: 22px 0;
  color: #bdc5d9;
  font-size: 0.77rem;
  gap: 6px;
}

.profile-demo-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.profile-demo-actions span {
  padding: 10px 6px;
  color: #dce4f5;
  border: 1px solid rgba(2, 225, 237, 0.16);
  background: rgba(2, 225, 237, 0.05);
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
}

.contact-toast {
  position: absolute;
  z-index: 6;
  right: 26px;
  bottom: 20px;
  display: grid;
  width: min(320px, calc(100% - 52px));
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(37, 211, 102, 0.32);
  color: white;
  background: rgba(9, 24, 18, 0.96);
  border-radius: 15px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  grid-template-columns: 12px 1fr;
  gap: 12px;
  transform: translateY(18px);
  opacity: 0;
}

.google-demo.is-running .contact-toast {
  animation: contactToast 8s ease-in-out infinite;
}

.toast-dot {
  width: 10px;
  height: 10px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.75);
}

.contact-toast small {
  display: block;
  color: #83dca4;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-toast strong {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
}

.service-grid-v5 .service-card {
  min-height: 280px;
}

.service-card-highlight {
  border-color: rgba(2, 225, 237, 0.3);
  background:
    radial-gradient(circle at 100% 0, rgba(2, 225, 237, 0.1), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    var(--bg-card);
}

.results-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(18, 58, 244, 0.08), transparent 22%),
    var(--bg-light);
}

.results-dashboard {
  padding: 30px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 90% 0, rgba(2, 225, 237, 0.13), transparent 25%),
    var(--bg-secondary);
  border-radius: 28px;
  box-shadow: 0 32px 85px rgba(9, 16, 33, 0.18);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dashboard-top > div span {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-top > div strong {
  font-size: 1.18rem;
}

.dashboard-status {
  padding: 8px 12px;
  color: #b8f4c9;
  border: 1px solid rgba(37, 211, 102, 0.24);
  background: rgba(37, 211, 102, 0.08);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 18px;
}

.dashboard-label {
  display: block;
  margin-bottom: 28px;
  color: #919bb3;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.36rem;
}

.dashboard-grid small {
  color: #aab3c7;
}

.mini-chart {
  display: flex;
  height: 58px;
  align-items: flex-end;
  margin-top: 28px;
  gap: 7px;
}

.mini-chart i {
  display: block;
  width: 18%;
  min-height: 8px;
  background: var(--gradient);
  border-radius: 5px 5px 2px 2px;
  transform-origin: bottom;
  animation: chartGrow 3.6s ease-in-out infinite alternate;
}

.mini-chart i:nth-child(1) { height: 24%; }
.mini-chart i:nth-child(2) { height: 42%; animation-delay: -0.4s; }
.mini-chart i:nth-child(3) { height: 35%; animation-delay: -0.8s; }
.mini-chart i:nth-child(4) { height: 70%; animation-delay: -1.2s; }
.mini-chart i:nth-child(5) { height: 88%; animation-delay: -1.6s; }

.chart-two i:nth-child(4) { height: 54%; }
.chart-two i:nth-child(5) { height: 73%; }
.chart-three i:nth-child(2) { height: 29%; }
.chart-three i:nth-child(5) { height: 61%; }
.chart-four i:nth-child(1) { height: 18%; }
.chart-four i:nth-child(3) { height: 44%; }
.chart-four i:nth-child(5) { height: 58%; }

.dashboard-disclaimer {
  margin: 22px 0 0;
  color: #7f8aa3;
  font-size: 0.74rem;
  text-align: center;
}

.differentiation-section .split-layout {
  align-items: center;
}

.section-video[hidden] {
  display: none !important;
}

.video-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 70px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at center, rgba(18, 58, 244, 0.22), transparent 35%),
    var(--bg-secondary);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  background: var(--gradient);
  border-radius: 24px;
  transform: translate(-50%, -50%);
}

.video-play-placeholder::after {
  position: absolute;
  top: 50%;
  left: 53%;
  content: "";
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid white;
  transform: translate(-50%, -50%);
}

@keyframes searchCursor {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes pinPulse {
  0%, 100% {
    transform: rotate(-45deg) scale(1);
    box-shadow: 0 0 20px rgba(2, 225, 237, 0.5);
  }
  50% {
    transform: rotate(-45deg) scale(1.15);
    box-shadow: 0 0 36px rgba(2, 225, 237, 0.78);
  }
}

@keyframes contactToast {
  0%, 44%, 100% {
    transform: translateY(18px);
    opacity: 0;
  }
  52%, 85% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes chartGrow {
  from { transform: scaleY(0.75); opacity: 0.72; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1100px) {
  .nav-cta {
    min-width: 0;
  }

  .evidence-layout,
  .google-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .measurement-note {
    grid-column: 1;
  }

  .google-demo {
    width: min(100%, 720px);
    margin: 0 auto;
  }

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

@media (max-width: 860px) {
  .measurement-funnel {
    grid-template-columns: 1fr;
  }

  .funnel-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .google-benefits {
    grid-template-columns: 1fr;
  }

  .video-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.35rem, 12.2vw, 3.35rem);
  }

  .google-demo {
    min-height: 680px;
    border-radius: 25px;
  }

  .search-browser {
    top: 22px;
    right: 18px;
    left: 18px;
  }

  .local-result-demo {
    right: 18px;
    bottom: 75px;
    left: 18px;
    min-height: 435px;
    grid-template-columns: 1fr;
  }

  .map-demo {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .profile-demo-card {
    padding: 20px;
  }

  .contact-toast {
    right: 12px;
    bottom: 14px;
    width: calc(100% - 24px);
  }

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

  .dashboard-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .results-dashboard {
    padding: 20px;
  }

  .service-grid-v5 .service-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-query-text::after,
  .pin-main,
  .contact-toast,
  .mini-chart i {
    animation: none !important;
  }

  .contact-toast {
    transform: none;
    opacity: 1;
  }
}


/* =========================================================
   PYMEVÍA V6 — AJUSTES DE ANIMACIÓN Y APLICACIONES CONCRETAS
   ========================================================= */

/* Botón principal: elimina cualquier artefacto lateral */
.hero-actions .button-primary,
.nav-cta {
  position: relative;
  overflow: hidden;
  border-left: 0 !important;
  outline-offset: 4px;
  background-clip: padding-box;
}

.hero-actions .button-primary::before,
.hero-actions .button-primary::after,
.nav-cta::before,
.nav-cta::after {
  display: none !important;
  content: none !important;
}

.button:focus-visible {
  outline: 3px solid rgba(2, 225, 237, 0.72);
}

/* Ecosistema principal: más grande y con mayor velocidad visual */
.hero-visual,
.pixel-system {
  min-height: 570px;
}

.ecosystem-card {
  width: min(100%, 535px);
}

.ecosystem-core {
  width: 166px;
  height: 166px;
  font-size: 1.52rem;
}

.ecosystem-connections line {
  stroke-dasharray: 3 4;
  animation: ecosystemLineFlow 2.4s linear infinite;
}

.ecosystem-connections circle {
  animation: ecosystemPointPulse 1.7s ease-in-out infinite;
}

.pixel-cloud {
  width: 205px;
  height: 205px;
  animation-duration: 5.2s;
}

.pixel-cloud-right {
  animation-delay: -2.6s;
}

@keyframes ecosystemLineFlow {
  to {
    stroke-dashoffset: -28;
  }
}

@keyframes ecosystemPointPulse {
  0%, 100% {
    opacity: 0.58;
    r: 0.75px;
  }
  50% {
    opacity: 1;
    r: 1.15px;
  }
}

/* Google / Maps: demostración más grande y más dinámica */
.google-demo {
  min-height: 690px;
}

.demo-example-label {
  position: absolute;
  z-index: 7;
  top: 20px;
  right: 24px;
  padding: 7px 10px;
  color: #aab4cb;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(2, 5, 21, 0.68);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.search-browser {
  top: 48px;
  right: 30px;
  left: 30px;
  padding: 21px;
}

.search-bar-demo {
  min-height: 58px;
}

.search-query-text {
  font-size: clamp(0.8rem, 1.3vw, 1rem);
}

.search-results-demo {
  position: relative;
  overflow: hidden;
}

.search-results-demo::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 34%;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(2, 225, 237, 0.1),
    transparent
  );
  animation: resultScan 2.2s ease-in-out infinite;
}

.local-result-demo {
  right: 30px;
  bottom: 58px;
  left: 30px;
  min-height: 390px;
}

.profile-demo-card {
  padding: 32px;
}

.profile-demo-logo {
  width: 64px;
  height: 64px;
  border-radius: 19px;
}

.profile-demo-head {
  grid-template-columns: 64px 1fr;
}

.profile-demo-card h3 {
  font-size: 1.48rem;
}

.profile-demo-data {
  margin: 23px 0;
  font-size: 0.8rem;
}

.map-road {
  background:
    linear-gradient(
      90deg,
      rgba(167, 174, 194, 0.12),
      rgba(2, 225, 237, 0.24),
      rgba(167, 174, 194, 0.12)
    );
  background-size: 220% 100%;
  animation: roadFlow 2.9s linear infinite;
}

.road-two {
  animation-delay: -0.9s;
}

.road-three {
  animation-delay: -1.7s;
}

.pin-main {
  width: 28px;
  height: 28px;
  animation-duration: 1.45s;
}

.google-demo.is-running .contact-toast {
  animation-duration: 6s;
}

@keyframes resultScan {
  0%, 18% {
    transform: translateX(0);
    opacity: 0;
  }
  38% {
    opacity: 1;
  }
  78%, 100% {
    transform: translateX(420%);
    opacity: 0;
  }
}

@keyframes roadFlow {
  to {
    background-position: -220% 0;
  }
}

/* Panel: barras notablemente más altas */
.dashboard-grid article {
  min-height: 285px;
}

.mini-chart {
  height: 112px;
  margin-top: 24px;
  gap: 8px;
}

.mini-chart i {
  min-height: 14px;
  animation-duration: 2.35s;
}

.mini-chart i:nth-child(1) { height: 42%; }
.mini-chart i:nth-child(2) { height: 66%; }
.mini-chart i:nth-child(3) { height: 55%; }
.mini-chart i:nth-child(4) { height: 84%; }
.mini-chart i:nth-child(5) { height: 100%; }

.chart-two i:nth-child(1) { height: 36%; }
.chart-two i:nth-child(2) { height: 58%; }
.chart-two i:nth-child(3) { height: 49%; }
.chart-two i:nth-child(4) { height: 76%; }
.chart-two i:nth-child(5) { height: 94%; }

.chart-three i:nth-child(1) { height: 28%; }
.chart-three i:nth-child(2) { height: 37%; }
.chart-three i:nth-child(3) { height: 48%; }
.chart-three i:nth-child(4) { height: 79%; }
.chart-three i:nth-child(5) { height: 72%; }

.chart-four i:nth-child(1) { height: 24%; }
.chart-four i:nth-child(2) { height: 52%; }
.chart-four i:nth-child(3) { height: 46%; }
.chart-four i:nth-child(4) { height: 73%; }
.chart-four i:nth-child(5) { height: 65%; }

/* Aplicaciones concretas: escenas de fondo específicas por rubro */
.use-card-animated {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  isolation: isolate;
}

.use-card-animated::after {
  position: absolute;
  z-index: 0;
  right: -72px;
  bottom: -86px;
  width: 250px;
  height: 250px;
  content: "";
  background: radial-gradient(
    circle,
    rgba(18, 58, 244, 0.09),
    rgba(2, 225, 237, 0.025) 45%,
    transparent 72%
  );
  border-radius: 50%;
  transition: transform 420ms ease, opacity 420ms ease;
}

.use-card-animated:hover::after {
  transform: scale(1.18);
  opacity: 1;
}

.use-card-animated::before,
.use-card-animated h3,
.use-card-animated p {
  position: relative;
  z-index: 3;
}

.use-card-visual {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 14px;
  width: 165px;
  height: 145px;
  color: var(--blue);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 320ms ease, transform 420ms ease;
}

.use-card-animated:hover .use-card-visual {
  opacity: 0.22;
  transform: translateY(-4px);
}

/* Comercio */
.commerce-visual {
  border-bottom: 3px solid currentColor;
}

.store-roof {
  position: absolute;
  top: 25px;
  right: 9px;
  left: 9px;
  height: 24px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 16px,
      rgba(2, 225, 237, 0.6) 16px 25px
    );
  animation: awningShift 2.7s linear infinite;
}

.store-window,
.store-door {
  position: absolute;
  bottom: 3px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.store-window {
  width: 39px;
  height: 55px;
}

.store-window-one {
  left: 17px;
}

.store-window-two {
  left: 65px;
}

.store-door {
  right: 17px;
  width: 38px;
  height: 76px;
}

.store-open-dot {
  position: absolute;
  right: 29px;
  bottom: 39px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(2, 225, 237, 0.7);
  animation: storeGlow 1.6s ease-in-out infinite;
}

/* Profesional */
.profile-sheet {
  position: absolute;
  top: 13px;
  right: 18px;
  width: 105px;
  height: 124px;
  border: 3px solid currentColor;
  border-radius: 12px;
}

.profile-avatar {
  position: absolute;
  top: 31px;
  right: 54px;
  width: 34px;
  height: 34px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.profile-line {
  position: absolute;
  right: 38px;
  width: 65px;
  height: 4px;
  background: currentColor;
  border-radius: 99px;
}

.profile-line-one {
  top: 82px;
}

.profile-line-two {
  top: 99px;
  width: 49px;
}

.profile-scan {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 93px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(2, 225, 237, 0.6);
  animation: profileScan 2.6s ease-in-out infinite;
}

/* Taller */
.gear {
  position: absolute;
  display: block;
  border: 7px dotted currentColor;
  border-radius: 50%;
}

.gear::after {
  position: absolute;
  inset: 28%;
  content: "";
  border: 4px solid currentColor;
  border-radius: 50%;
}

.gear-one {
  top: 13px;
  right: 15px;
  width: 90px;
  height: 90px;
  animation: gearRotate 7s linear infinite;
}

.gear-two {
  right: 82px;
  bottom: 4px;
  width: 64px;
  height: 64px;
  animation: gearRotateReverse 5s linear infinite;
}

.workshop-line {
  position: absolute;
  right: 5px;
  bottom: 0;
  width: 155px;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor);
  border-radius: 99px;
}

/* Prestador */
.coverage-ring {
  position: absolute;
  right: 25px;
  bottom: 14px;
  border: 3px solid currentColor;
  border-radius: 50%;
  animation: coveragePulse 2.8s ease-out infinite;
}

.coverage-ring-one {
  width: 70px;
  height: 70px;
}

.coverage-ring-two {
  right: 6px;
  bottom: -5px;
  width: 108px;
  height: 108px;
  animation-delay: -1.4s;
}

.coverage-route {
  position: absolute;
  top: 27px;
  right: 50px;
  width: 88px;
  height: 70px;
  border-top: 3px dashed currentColor;
  border-right: 3px dashed currentColor;
  border-radius: 0 34px 0 0;
  animation: routeDash 3s linear infinite;
}

.coverage-pin {
  position: absolute;
  right: 44px;
  bottom: 44px;
  width: 22px;
  height: 22px;
  background: var(--cyan);
  border: 4px solid white;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 0 18px rgba(2, 225, 237, 0.65);
  transform: rotate(-45deg);
  animation: servicePin 1.8s ease-in-out infinite;
}

@keyframes awningShift {
  to {
    background-position: 50px 0;
  }
}

@keyframes storeGlow {
  0%, 100% { opacity: 0.42; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes profileScan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 1; }
  90% { transform: translateY(104px); opacity: 0; }
}

@keyframes gearRotate {
  to { transform: rotate(360deg); }
}

@keyframes gearRotateReverse {
  to { transform: rotate(-360deg); }
}

@keyframes coveragePulse {
  0% { opacity: 0; transform: scale(0.55); }
  35% { opacity: 0.85; }
  100% { opacity: 0; transform: scale(1.18); }
}

@keyframes routeDash {
  to { border-color: var(--cyan); }
}

@keyframes servicePin {
  0%, 100% { transform: rotate(-45deg) translate(0, 0); }
  50% { transform: rotate(-45deg) translate(3px, -3px); }
}

@media (max-width: 1100px) {
  .ecosystem-card {
    width: min(100%, 510px);
  }
}

@media (max-width: 640px) {
  .hero-visual,
  .pixel-system {
    min-height: 410px;
  }

  .ecosystem-card {
    width: min(100%, 380px);
  }

  .ecosystem-core {
    width: 132px;
    height: 132px;
    font-size: 1.18rem;
  }

  .google-demo {
    min-height: 735px;
  }

  .demo-example-label {
    top: 10px;
    right: 14px;
  }

  .search-browser {
    top: 38px;
  }

  .local-result-demo {
    bottom: 70px;
    min-height: 475px;
  }

  .dashboard-grid article {
    min-height: 270px;
  }

  .mini-chart {
    height: 105px;
  }

  .use-card-animated {
    min-height: 240px;
  }

  .use-card-visual {
    right: 10px;
    bottom: 8px;
    width: 145px;
    height: 125px;
    opacity: 0.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-connections line,
  .ecosystem-connections circle,
  .search-results-demo::after,
  .map-road,
  .store-roof,
  .store-open-dot,
  .profile-scan,
  .gear,
  .coverage-ring,
  .coverage-route,
  .coverage-pin {
    animation: none !important;
  }
}


/* =========================================================
   PYMEVÍA V7 — MAPA REAL DE GOOGLE EN MODO NOCTURNO
   ========================================================= */

.local-result-real {
  min-height: 410px;
}

.map-demo-real {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(2, 225, 237, 0.16), transparent 24%),
    #0b1024;
}

.real-google-map {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.94;
  pointer-events: none;

  /*
   * El mapa es real y mantiene la atribución de Google.
   * Este filtro adapta visualmente el mapa estándar al modo nocturno
   * de la identidad PymeVía sin requerir una API key.
   */
  filter:
    grayscale(0.22)
    invert(0.91)
    hue-rotate(178deg)
    brightness(0.69)
    contrast(1.23)
    saturate(0.78);
}

.real-map-vignette {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 5, 21, 0.26), transparent 24%, transparent 76%, rgba(2, 5, 21, 0.28)),
    linear-gradient(180deg, rgba(2, 5, 21, 0.12), transparent 28%, transparent 70%, rgba(2, 5, 21, 0.34));
  box-shadow: inset 0 0 65px rgba(2, 5, 21, 0.46);
}

.real-map-route {
  position: absolute;
  z-index: 3;
  top: 56%;
  left: 9%;
  width: 74%;
  height: 3px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(127, 36, 233, 0.82) 20%,
      rgba(18, 58, 244, 0.88) 58%,
      rgba(2, 225, 237, 0.92) 82%,
      transparent 100%
    );
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(2, 225, 237, 0.28);
  opacity: 0.72;
  pointer-events: none;
  transform: rotate(-18deg);
  transform-origin: center;
}

.real-map-route::after {
  position: absolute;
  top: -3px;
  left: -18%;
  width: 18%;
  height: 9px;
  content: "";
  background: linear-gradient(90deg, transparent, white, transparent);
  filter: blur(1px);
  animation: realRouteFlow 2.5s linear infinite;
}

.real-map-focus {
  position: absolute;
  z-index: 4;
  top: 51%;
  left: 52%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.real-map-focus::before,
.real-map-focus::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 2px solid rgba(2, 225, 237, 0.62);
  border-radius: 50%;
  animation: realMapPulse 2.4s ease-out infinite;
}

.real-map-focus::after {
  animation-delay: -1.2s;
}

.real-map-focus i {
  position: relative;
  z-index: 2;
  display: block;
  width: 27px;
  height: 27px;
  background: var(--cyan);
  border: 4px solid rgba(255, 255, 255, 0.94);
  border-radius: 50% 50% 50% 0;
  box-shadow:
    0 0 0 6px rgba(2, 225, 237, 0.12),
    0 0 28px rgba(2, 225, 237, 0.7);
  transform: rotate(-45deg);
  animation: realMapPin 1.8s ease-in-out infinite;
}

.real-map-caption {
  position: absolute;
  z-index: 5;
  bottom: 15px;
  left: 15px;
  max-width: calc(100% - 30px);
  padding: 8px 11px;
  color: #e6ecfa;
  border: 1px solid rgba(2, 225, 237, 0.18);
  background: rgba(2, 5, 21, 0.82);
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.profile-demo-real {
  background:
    radial-gradient(circle at 100% 0%, rgba(2, 225, 237, 0.08), transparent 31%),
    transparent;
}

.rating-demo-real {
  color: #aeb7cc !important;
  font-weight: 600;
}

.profile-demo-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 7px;
  color: #dce4f5;
  border: 1px solid rgba(2, 225, 237, 0.2);
  background: rgba(2, 225, 237, 0.055);
  border-radius: 10px;
  font-size: 0.67rem;
  font-weight: 800;
  text-align: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.profile-demo-actions a:hover {
  color: white;
  border-color: rgba(2, 225, 237, 0.52);
  background: rgba(2, 225, 237, 0.12);
  transform: translateY(-2px);
}

.real-case-note {
  margin: 18px 0 0;
  color: #818ca5 !important;
  font-size: 0.69rem;
  line-height: 1.55;
}

@keyframes realRouteFlow {
  to {
    transform: translateX(650%);
  }
}

@keyframes realMapPulse {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }

  30% {
    opacity: 0.76;
  }

  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes realMapPin {
  0%, 100% {
    transform: rotate(-45deg) translate(0, 0);
  }

  50% {
    transform: rotate(-45deg) translate(4px, -4px);
  }
}

@media (max-width: 640px) {
  .local-result-real {
    min-height: 515px;
  }

  .map-demo-real {
    min-height: 185px;
  }

  .real-map-focus {
    top: 50%;
    left: 52%;
    width: 62px;
    height: 62px;
  }

  .real-map-focus i {
    width: 24px;
    height: 24px;
  }

  .profile-demo-actions a {
    min-height: 44px;
    font-size: 0.64rem;
  }

  .real-case-note {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .real-map-route::after,
  .real-map-focus::before,
  .real-map-focus::after,
  .real-map-focus i {
    animation: none !important;
  }
}


/* =========================================================
   PYMEVÍA V8 — MAPA LIMPIO, LOGO REAL Y BLOQUES SIN SUPERPOSICIÓN
   ========================================================= */

/*
 * La demostración de Google se organiza en dos bloques separados:
 * buscador arriba y caso real abajo.
 */
.google-demo {
  min-height: 790px;
}

.search-browser {
  top: 34px;
  right: 30px;
  left: 30px;
}

.local-result-demo,
.local-result-real {
  top: 270px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  min-height: 0;
}

/* Ya no se usan marcadores ni recorridos artificiales sobre Google Maps. */
.real-map-route,
.real-map-focus {
  display: none !important;
}

/* El mapa conserva su ubicación real, sus calles y el marcador de Google. */
.map-demo-real {
  min-height: 100%;
}

.real-google-map {
  opacity: 0.96;
  filter:
    grayscale(0.18)
    invert(0.91)
    hue-rotate(178deg)
    brightness(0.72)
    contrast(1.2)
    saturate(0.82);
}

/* Logo real de Remates Palacio dentro de la ficha. */
.profile-demo-head {
  grid-template-columns: 86px 1fr;
  gap: 18px;
}

.profile-demo-logo-real {
  display: grid;
  width: 86px;
  height: 86px;
  padding: 5px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #ffffff;
  border-radius: 19px;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(18, 58, 244, 0.1);
}

.profile-demo-logo-real img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/*
 * Se reemplaza el antiguo fondo degradado del círculo RP para que
 * no interfiera con los colores oficiales de Remates Palacio.
 */
.profile-demo-logo-real::before,
.profile-demo-logo-real::after {
  display: none !important;
  content: none !important;
}

.real-case-note {
  max-width: 440px;
  color: #929cb2 !important;
}

/* El buscador queda siempre por encima, sin invadir el caso real. */
.search-browser {
  z-index: 8;
}

.local-result-real {
  z-index: 3;
}

@media (max-width: 860px) {
  .google-demo {
    min-height: 845px;
  }

  .local-result-demo,
  .local-result-real {
    top: 270px;
    bottom: 24px;
  }

  .profile-demo-head {
    grid-template-columns: 78px 1fr;
  }

  .profile-demo-logo-real {
    width: 78px;
    height: 78px;
  }
}

@media (max-width: 640px) {
  .google-demo {
    min-height: 990px;
  }

  .search-browser {
    top: 38px;
    right: 18px;
    left: 18px;
  }

  .local-result-demo,
  .local-result-real {
    top: 270px;
    right: 18px;
    bottom: 24px;
    left: 18px;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .map-demo-real {
    min-height: 235px;
  }

  .profile-demo-real {
    padding: 22px;
  }

  .profile-demo-head {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }

  .profile-demo-logo-real {
    width: 72px;
    height: 72px;
    padding: 4px;
    border-radius: 17px;
  }

  .real-case-note {
    margin-top: 16px;
  }
}


/* =========================================================
   PYMEVÍA V9 — MENSAJE COMERCIAL COMPACTO + META
   ========================================================= */

/* Recorrido del cliente: reemplaza dos secciones extensas */
.customer-journey {
  position: relative;
  overflow: hidden;
  padding-block: 92px;
  background:
    radial-gradient(circle at 8% 15%, rgba(127, 36, 233, 0.055), transparent 23%),
    var(--bg-light);
}

.customer-journey .section-heading {
  margin-bottom: 42px;
}

.customer-journey .section-heading h2 {
  max-width: 980px;
  margin-inline: auto;
}

.journey-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
}

.journey-step {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border-light);
  background: white;
  border-radius: 19px;
  box-shadow: 0 18px 50px rgba(9, 16, 33, 0.045);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.journey-step:hover {
  border-color: rgba(18, 58, 244, 0.22);
  box-shadow: 0 25px 60px rgba(9, 16, 33, 0.085);
  transform: translateY(-4px);
}

.journey-step > span {
  display: block;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.journey-step h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.journey-step p {
  margin: 0;
  font-size: 0.91rem;
}

.journey-arrow {
  align-self: center;
  color: var(--blue);
  font-size: 1.28rem;
  font-weight: 800;
}

.journey-note {
  display: grid;
  max-width: 980px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border-left: 4px solid var(--cyan);
  background: #edf2ff;
  border-radius: 0 14px 14px 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.journey-note strong {
  color: var(--text-dark);
  font-size: 0.94rem;
}

.journey-note p {
  margin: 0;
  font-size: 0.86rem;
}

/* Meta: sección específica sin romper la estética V8 */
.section-meta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 86%, rgba(127, 36, 233, 0.08), transparent 25%),
    radial-gradient(circle at 96% 10%, rgba(2, 225, 237, 0.055), transparent 21%),
    white;
}

.meta-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(470px, 1.08fr) minmax(0, 0.92fr);
  gap: 78px;
}

.meta-copy h2 {
  max-width: 720px;
}

.meta-copy > p {
  max-width: 690px;
}

.meta-benefits {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.meta-benefits article {
  display: grid;
  padding: 18px;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  border-radius: 15px;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.meta-benefits article > span {
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.meta-benefits h3 {
  margin-bottom: 5px;
  font-size: 0.96rem;
}

.meta-benefits p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.meta-phrase {
  margin: 25px 0 0;
  padding: 17px 19px;
  color: var(--text-dark);
  border: 1px solid rgba(127, 36, 233, 0.16);
  background: rgba(127, 36, 233, 0.045);
  border-radius: 15px;
  font-weight: 700;
}

.meta-demo {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 82% 15%, rgba(2, 225, 237, 0.16), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(127, 36, 233, 0.24), transparent 31%),
    #070a1b;
  border-radius: 34px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 42px 95px rgba(9, 16, 33, 0.22);
  isolation: isolate;
}

.meta-demo-label {
  position: absolute;
  z-index: 8;
  top: 20px;
  right: 22px;
  padding: 7px 10px;
  color: #c4cce0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(2, 5, 21, 0.72);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.meta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  pointer-events: none;
}

.meta-glow-one {
  top: 60px;
  right: 20px;
  width: 220px;
  height: 220px;
  background: rgba(2, 225, 237, 0.11);
}

.meta-glow-two {
  bottom: 10px;
  left: -40px;
  width: 250px;
  height: 250px;
  background: rgba(127, 36, 233, 0.15);
}

.social-phone {
  position: absolute;
  z-index: 3;
  top: 50px;
  left: 50%;
  width: min(350px, calc(100% - 70px));
  min-height: 500px;
  padding: 18px;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    #0b1024;
  border-radius: 31px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 32px 72px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
}

.social-phone-head {
  display: grid;
  align-items: center;
  grid-template-columns: 44px 1fr auto;
  gap: 11px;
}

.social-business-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--gradient);
  border-radius: 14px;
  font-weight: 800;
}

.social-phone-head strong,
.social-phone-head small {
  display: block;
}

.social-phone-head strong {
  font-size: 0.88rem;
}

.social-phone-head small {
  margin-top: 2px;
  color: #8f99b1;
  font-size: 0.65rem;
}

.social-more {
  color: #7f899f;
  letter-spacing: 0.14em;
}

.social-stories {
  display: flex;
  margin: 17px 0;
  gap: 11px;
}

.social-stories span {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 3px;
  place-items: center;
  background: conic-gradient(
    from 0deg,
    var(--violet),
    var(--blue),
    var(--cyan),
    var(--violet)
  );
  border-radius: 50%;
  animation: metaStoryRotate 5s linear infinite;
}

.social-stories span:nth-child(2) {
  animation-delay: -1.2s;
}

.social-stories span:nth-child(3) {
  animation-delay: -2.4s;
}

.social-stories span:nth-child(4) {
  animation-delay: -3.6s;
}

.social-stories i {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #cfd6e8;
  background: #0d1227;
  border-radius: 50%;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 800;
}

.social-feed {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 20px;
}

.social-post {
  position: absolute;
  inset: 0;
  padding: 12px;
  opacity: 0;
  transform: translateX(28px) scale(0.98);
}

.meta-demo.is-running .social-post-one {
  animation: metaPostOne 12s ease-in-out infinite;
}

.meta-demo.is-running .social-post-two {
  animation: metaPostTwo 12s ease-in-out infinite;
}

.meta-demo.is-running .social-post-three {
  animation: metaPostThree 12s ease-in-out infinite;
}

.social-post-visual {
  display: flex;
  height: 215px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(2, 225, 237, 0.4), transparent 25%),
    radial-gradient(circle at 12% 92%, rgba(232, 23, 213, 0.3), transparent 28%),
    linear-gradient(135deg, #111945, #0d1027 45%, #160b31);
  border-radius: 15px;
}

.social-post-two .social-post-visual {
  background:
    radial-gradient(circle at 20% 18%, rgba(18, 58, 244, 0.55), transparent 25%),
    linear-gradient(145deg, #0e1838, #081424 56%, #10122e);
}

.social-post-three .social-post-visual {
  background:
    radial-gradient(circle at 80% 78%, rgba(127, 36, 233, 0.5), transparent 28%),
    linear-gradient(145deg, #160d34, #081324 58%, #07152a);
}

.social-post-visual > span {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 6px 8px;
  color: var(--cyan);
  border: 1px solid rgba(2, 225, 237, 0.26);
  background: rgba(2, 225, 237, 0.075);
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.social-post-visual strong {
  max-width: 250px;
  margin-bottom: 7px;
  font-size: 1.23rem;
  line-height: 1.15;
}

.social-post-visual small {
  max-width: 245px;
  color: #b7c0d5;
  font-size: 0.7rem;
  line-height: 1.55;
}

.social-post-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px 0;
  gap: 12px;
}

.social-post-copy span {
  color: #8d97ae;
  font-size: 0.6rem;
}

.social-post-copy strong {
  color: #e8edf8;
  font-size: 0.7rem;
}

.social-phone-actions {
  display: grid;
  margin-top: 15px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.social-phone-actions span,
.social-phone-actions strong {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 11px;
  font-size: 0.66rem;
}

.social-phone-actions strong {
  color: #02170c;
  border-color: rgba(37, 211, 102, 0.35);
  background: #25d366;
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.16);
  animation: metaWhatsAppGlow 2.3s ease-in-out infinite;
}

.meta-flow {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 24px;
  left: 22px;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
}

.meta-flow-step {
  padding: 10px 8px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 11px;
  text-align: center;
}

.meta-flow-step span {
  display: block;
  margin-bottom: 3px;
  color: var(--cyan);
  font-size: 0.54rem;
  font-weight: 800;
}

.meta-flow-step strong {
  font-size: 0.63rem;
}

.meta-flow > i {
  color: var(--cyan);
  font-size: 0.75rem;
  font-style: normal;
}

.meta-toast {
  position: absolute;
  z-index: 7;
  right: 18px;
  bottom: 88px;
  display: grid;
  width: min(315px, calc(100% - 36px));
  align-items: center;
  padding: 13px 15px;
  color: white;
  border: 1px solid rgba(37, 211, 102, 0.3);
  background: rgba(8, 28, 18, 0.96);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  grid-template-columns: 11px 1fr;
  gap: 11px;
  opacity: 0;
  transform: translateY(16px);
}

.meta-demo.is-running .meta-toast {
  animation: metaToast 8s ease-in-out infinite;
}

.meta-toast-dot {
  width: 9px;
  height: 9px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 13px rgba(37, 211, 102, 0.75);
}

.meta-toast small {
  display: block;
  color: #8cdfa8;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-toast strong {
  display: block;
  margin-top: 2px;
  font-size: 0.69rem;
}

/* Solución PymeVía más compacta */
.section-solution {
  padding-block: 88px;
}

.section-solution .split-layout {
  gap: 58px;
}

.section-solution .before-after {
  padding: 24px;
}

.section-solution .comparison-column {
  padding: 19px;
}

.section-solution .comparison-column li {
  padding-block: 7px;
}

/* Meta destacada también en servicios */
.service-card-meta {
  border-color: rgba(127, 36, 233, 0.32);
  background:
    radial-gradient(circle at 100% 0, rgba(127, 36, 233, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    var(--bg-card);
}

@keyframes metaStoryRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes metaPostOne {
  0%, 28% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  34%, 100% {
    opacity: 0;
    transform: translateX(-28px) scale(0.98);
  }
}

@keyframes metaPostTwo {
  0%, 29% {
    opacity: 0;
    transform: translateX(28px) scale(0.98);
  }
  35%, 61% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  67%, 100% {
    opacity: 0;
    transform: translateX(-28px) scale(0.98);
  }
}

@keyframes metaPostThree {
  0%, 62% {
    opacity: 0;
    transform: translateX(28px) scale(0.98);
  }
  68%, 94% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-28px) scale(0.98);
  }
}

@keyframes metaWhatsAppGlow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.14);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 28px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
  }
}

@keyframes metaToast {
  0%, 38%, 100% {
    opacity: 0;
    transform: translateY(16px);
  }
  47%, 78% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-arrow {
    display: none;
  }

  .meta-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .meta-demo {
    width: min(100%, 720px);
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  .journey-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .meta-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .customer-journey {
    padding-block: 70px;
  }

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

  .journey-step {
    min-height: auto;
  }

  .journey-step > span {
    margin-bottom: 24px;
  }

  .meta-demo {
    min-height: 690px;
    border-radius: 25px;
  }

  .social-phone {
    top: 55px;
    width: calc(100% - 34px);
    min-height: 500px;
  }

  .meta-flow {
    right: 12px;
    bottom: 17px;
    left: 12px;
    gap: 5px;
  }

  .meta-flow-step {
    padding: 9px 5px;
  }

  .meta-toast {
    right: 12px;
    bottom: 82px;
    width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-stories span,
  .social-phone-actions strong,
  .meta-toast,
  .social-post {
    animation: none !important;
  }

  .social-post-one {
    opacity: 1 !important;
    transform: none !important;
  }

  .social-post-two,
  .social-post-three {
    display: none;
  }

  .meta-toast {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   PYMEVÍA V10 — CASO REAL META
   ========================================================= */

/* Logo de Remates Palacio: centrado y ampliado dentro del cuadro de Google */
.profile-demo-logo-real {
  padding: 0;
  overflow: hidden;
}

.profile-demo-logo-real img {
  width: 118%;
  height: 118%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: scale(1.12);
}

/* Nueva sección Meta */
.section-meta-real {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(2, 225, 237, 0.12), transparent 24%),
    radial-gradient(circle at 7% 92%, rgba(127, 36, 233, 0.18), transparent 28%),
    var(--bg-primary);
}

.meta-real-heading {
  max-width: 1030px;
  margin-bottom: 44px;
}

.meta-real-heading h2 {
  max-width: 990px;
  font-size: clamp(2.35rem, 4.25vw, 4.55rem);
}

.meta-real-heading p {
  max-width: 760px;
  color: #aeb7cc;
  font-size: 1.03rem;
}

.meta-real-showcase {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.meta-real-card {
  position: relative;
  min-width: 0;
  padding: 17px;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    #0b1023;
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 58px rgba(0, 0, 0, 0.2);
}

.meta-real-card::after {
  position: absolute;
  right: -70px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  content: "";
  background: radial-gradient(
    circle,
    rgba(18, 58, 244, 0.14),
    rgba(127, 36, 233, 0.04) 52%,
    transparent 73%
  );
  border-radius: 50%;
  pointer-events: none;
}

.meta-platform-head {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: 82px;
  align-items: start;
  grid-template-columns: 48px 1fr;
  gap: 12px;
}

.meta-platform-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.22);
  font-size: 1.45rem;
  font-weight: 800;
}

.meta-facebook-icon {
  background: linear-gradient(145deg, #1877f2, #0457cb);
}

.meta-instagram-icon {
  position: relative;
  background: linear-gradient(135deg, #6f32ff, #e719a5 52%, #ff9b34);
}

.meta-instagram-icon i {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border: 3px solid white;
  border-radius: 7px;
}

.meta-instagram-icon i::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.meta-instagram-icon i::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  content: "";
  background: white;
  border-radius: 50%;
}

.meta-whatsapp-icon {
  background: linear-gradient(145deg, #25d366, #109d45);
  border-radius: 50%;
}

.meta-whatsapp-icon i {
  font-style: normal;
}

.meta-result-icon {
  background: linear-gradient(145deg, #33206d, #7135dc);
}

.meta-card-number {
  display: block;
  margin-bottom: 2px;
  color: rgba(2, 225, 237, 0.4);
  font-size: 0.55rem;
  font-weight: 800;
}

.meta-platform-head h3 {
  margin: 0 0 4px;
  color: white;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.meta-platform-head p {
  margin: 0;
  color: #aab3c7;
  font-size: 0.68rem;
  line-height: 1.5;
}

.meta-screen {
  position: relative;
  z-index: 3;
  height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #06091a;
  border-radius: 20px;
}

.meta-screen-label {
  position: absolute;
  z-index: 8;
  top: 11px;
  right: 11px;
  padding: 6px 8px;
  color: white;
  background: rgba(2, 5, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* Facebook: alterna perfil y publicación reales */
.meta-facebook-slides,
.meta-facebook-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.meta-facebook-slide {
  overflow: hidden;
  opacity: 0;
  transform: scale(1.02);
}

.meta-facebook-slide img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.meta-demo.is-running .meta-facebook-profile {
  animation: facebookProfileReal 14s ease-in-out infinite;
}

.meta-demo.is-running .meta-facebook-publication {
  animation: facebookPostReal 14s ease-in-out infinite;
}

.meta-facebook-publication img {
  animation: facebookPostPan 14s ease-in-out infinite;
}

@keyframes facebookProfileReal {
  0%, 40% {
    opacity: 1;
    transform: scale(1);
  }

  48%, 100% {
    opacity: 0;
    transform: scale(1.025);
  }
}

@keyframes facebookPostReal {
  0%, 42% {
    opacity: 0;
    transform: scale(1.025);
  }

  50%, 93% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
  }
}

@keyframes facebookPostPan {
  0%, 45% {
    transform: translateY(0);
  }

  92%, 100% {
    transform: translateY(-10%);
  }
}

/* Instagram: captura real con desplazamiento sutil */
.meta-instagram-screen {
  background: white;
}

.meta-instagram-screen img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.meta-demo.is-running .meta-instagram-screen img {
  animation: instagramRealPan 10s ease-in-out infinite alternate;
}

@keyframes instagramRealPan {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-7%) scale(1.015);
  }
}

/* WhatsApp demostrativo */
.meta-whatsapp-screen {
  display: flex;
  flex-direction: column;
  color: white;
  background:
    radial-gradient(circle at 14% 20%, rgba(37, 211, 102, 0.055), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #0b141a;
  background-size: auto, 22px 22px, 22px 22px;
}

.wa-demo-head {
  display: grid;
  min-height: 64px;
  align-items: center;
  padding: 10px 12px;
  background: #202c33;
  grid-template-columns: 39px 1fr auto;
  gap: 10px;
}

.wa-demo-avatar {
  display: grid;
  width: 39px;
  height: 39px;
  padding: 3px;
  place-items: center;
  overflow: hidden;
  background: white;
  border-radius: 50%;
}

.wa-demo-avatar img {
  width: 118%;
  height: 118%;
  max-width: none;
  object-fit: contain;
  transform: scale(1.1);
}

.wa-demo-head strong,
.wa-demo-head small {
  display: block;
}

.wa-demo-head strong {
  font-size: 0.76rem;
}

.wa-demo-head small {
  margin-top: 2px;
  color: #9ca9b0;
  font-size: 0.53rem;
}

.wa-demo-head > span {
  color: #aeb8bd;
  letter-spacing: 0.12em;
}

.wa-demo-chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px 11px 10px;
  overflow: hidden;
  gap: 8px;
}

.wa-message {
  position: relative;
  max-width: 88%;
  padding: 9px 10px 16px;
  border-radius: 10px;
  font-size: 0.68rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
}

.wa-message small {
  position: absolute;
  right: 7px;
  bottom: 4px;
  color: #8e9aa0;
  font-size: 0.47rem;
}

.wa-user-message {
  align-self: flex-end;
  background: #005c4b;
  border-top-right-radius: 2px;
}

.wa-business-message {
  align-self: flex-start;
  background: #202c33;
  border-top-left-radius: 2px;
}

.wa-chat-actions {
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
}

.wa-chat-actions a {
  display: block;
  padding: 9px 10px;
  color: #e6edf1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #202c33;
  border-radius: 8px;
  font-size: 0.63rem;
  font-weight: 700;
  text-align: center;
}

.meta-demo.is-running .wa-message-one {
  animation: waMessageAppear 12s ease-in-out infinite;
}

.meta-demo.is-running .wa-message-two {
  animation: waMessageAppear 12s 0.9s ease-in-out infinite;
}

.meta-demo.is-running .wa-message-three {
  animation: waMessageAppear 12s 1.8s ease-in-out infinite;
}

.meta-demo.is-running .wa-message-four {
  animation: waMessageAppear 12s 2.7s ease-in-out infinite;
}

.meta-demo.is-running .wa-message-five {
  animation: waMessageAppear 12s 3.6s ease-in-out infinite;
}

@keyframes waMessageAppear {
  0%, 8% {
    opacity: 0;
    transform: translateY(12px);
  }

  15%, 78% {
    opacity: 1;
    transform: translateY(0);
  }

  90%, 100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.wa-demo-input {
  display: grid;
  min-height: 50px;
  align-items: center;
  margin: 0 9px 9px;
  padding: 0 12px;
  color: #86949c;
  background: #202c33;
  border-radius: 22px;
  grid-template-columns: 1fr auto;
  font-size: 0.66rem;
}

.wa-demo-input strong {
  color: #25d366;
  font-size: 1rem;
}

/* Resultado */
.meta-result-panel {
  position: relative;
  z-index: 3;
  min-height: 560px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 18%, rgba(127, 36, 233, 0.19), transparent 28%),
    linear-gradient(160deg, rgba(18, 58, 244, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.025);
  border-radius: 20px;
}

.meta-result-symbol {
  position: relative;
  display: grid;
  width: 88px;
  height: 88px;
  margin: 6px auto 23px;
  place-items: center;
  border: 2px solid rgba(127, 36, 233, 0.55);
  background: rgba(127, 36, 233, 0.07);
  border-radius: 25px;
  box-shadow: 0 0 34px rgba(18, 58, 244, 0.15);
}

.meta-result-symbol::before,
.meta-result-symbol::after {
  position: absolute;
  content: "";
  background: var(--gradient);
  border-radius: 99px;
}

.meta-result-symbol::before {
  width: 44px;
  height: 3px;
  transform: translateY(-8px);
}

.meta-result-symbol::after {
  width: 34px;
  height: 3px;
  transform: translateY(8px);
}

.meta-result-symbol span {
  position: absolute;
  right: 10px;
  bottom: -10px;
  width: 25px;
  height: 25px;
  border-left: 2px solid rgba(127, 36, 233, 0.7);
  border-bottom: 2px solid rgba(127, 36, 233, 0.7);
  background: #0c1026;
  transform: skew(-20deg);
}

.meta-demo.is-running .meta-result-symbol {
  animation: resultSymbolPulse 2.8s ease-in-out infinite;
}

@keyframes resultSymbolPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 24px rgba(18, 58, 244, 0.11);
  }

  50% {
    transform: scale(1.045);
    box-shadow: 0 0 42px rgba(2, 225, 237, 0.19);
  }
}

.meta-result-panel > h3 {
  max-width: 230px;
  margin: 0 auto 27px;
  color: white;
  font-size: 1.14rem;
  text-align: center;
}

.meta-result-panel ul {
  display: grid;
  margin-bottom: 24px;
  gap: 17px;
}

.meta-result-panel li {
  position: relative;
  padding-left: 34px;
  color: #b4bdd0;
  font-size: 0.75rem;
  line-height: 1.45;
}

.meta-result-panel li::before {
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  content: "✓";
  color: var(--cyan);
  border: 1px solid rgba(127, 36, 233, 0.55);
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 900;
}

.meta-result-panel > p {
  margin: 0;
  padding: 14px;
  color: #aeb7ca;
  border: 1px solid rgba(2, 225, 237, 0.12);
  background: rgba(2, 225, 237, 0.035);
  border-radius: 13px;
  font-size: 0.69rem;
  line-height: 1.6;
}

.meta-result-panel > p::first-line {
  color: white;
}

/* Responsive */
@media (max-width: 1200px) {
  .meta-real-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meta-screen,
  .meta-result-panel {
    height: 610px;
    min-height: 610px;
  }
}

@media (max-width: 720px) {
  .meta-real-heading {
    margin-bottom: 30px;
  }

  .meta-real-heading h2 {
    font-size: clamp(2.2rem, 10vw, 3.05rem);
  }

  .meta-real-showcase {
    display: flex;
    width: calc(100vw - 12px);
    margin-left: calc((100vw - 100%) / -2);
    padding: 0 12px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    gap: 12px;
  }

  .meta-real-card {
    min-width: min(86vw, 365px);
    scroll-snap-align: center;
  }

  .meta-screen,
  .meta-result-panel {
    height: 585px;
    min-height: 585px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meta-facebook-profile,
  .meta-facebook-publication,
  .meta-facebook-publication img,
  .meta-instagram-screen img,
  .wa-message,
  .wa-chat-actions,
  .meta-result-symbol {
    animation: none !important;
  }

  .meta-facebook-profile {
    opacity: 1;
    transform: none;
  }

  .meta-facebook-publication {
    display: none;
  }

  .wa-message,
  .wa-chat-actions {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   PYMEVÍA V11 — LOGOS Y CAPTURAS REALES SIN RECORTES
   ========================================================= */

/* ---------------------------------------------------------
   Logo de Remates Palacio en la ficha de Google
   --------------------------------------------------------- */
.profile-demo-logo-real {
  display: grid;
  width: 92px;
  height: 92px;
  padding: 7px;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
}

.profile-demo-logo-real img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

/* Anula las ampliaciones aplicadas en versiones anteriores. */
.profile-demo-logo-real img,
.wa-demo-avatar img {
  max-width: 100%;
}

/* ---------------------------------------------------------
   Pantallas reales de Facebook e Instagram
   --------------------------------------------------------- */
.meta-facebook-slide,
.meta-facebook-slide img,
.meta-instagram-screen img {
  transform-origin: top center;
}

.meta-facebook-slide img,
.meta-instagram-screen img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  object-fit: initial;
  object-position: top center;
}

/* La captura siempre ocupa todo el ancho del teléfono.
   Solo se desplaza verticalmente para mostrar más contenido. */
.meta-facebook-profile {
  opacity: 1;
  transform: none;
}

.meta-facebook-publication {
  opacity: 0;
  transform: none;
}

.meta-demo.is-running .meta-facebook-profile {
  animation: facebookProfileV11 14s ease-in-out infinite;
}

.meta-demo.is-running .meta-facebook-publication {
  animation: facebookPublicationV11 14s ease-in-out infinite;
}

.meta-demo.is-running .meta-facebook-profile img {
  animation: facebookProfilePanV11 14s ease-in-out infinite;
}

.meta-demo.is-running .meta-facebook-publication img {
  animation: facebookPublicationPanV11 14s ease-in-out infinite;
}

@keyframes facebookProfileV11 {
  0%, 47% {
    opacity: 1;
  }

  53%, 94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes facebookPublicationV11 {
  0%, 43% {
    opacity: 0;
  }

  49%, 97% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes facebookProfilePanV11 {
  0%, 12% {
    transform: translateY(0);
  }

  40%, 48% {
    transform: translateY(-8%);
  }

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

@keyframes facebookPublicationPanV11 {
  0%, 48% {
    transform: translateY(0);
  }

  82%, 97% {
    transform: translateY(-12%);
  }

  100% {
    transform: translateY(0);
  }
}

/* Instagram mantiene el ancho completo y muestra el perfil real. */
.meta-instagram-screen {
  background: #ffffff;
}

.meta-demo.is-running .meta-instagram-screen img {
  animation: instagramPanV11 10s ease-in-out infinite alternate;
}

@keyframes instagramPanV11 {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-13%);
  }
}

/* ---------------------------------------------------------
   Logo de Remates Palacio dentro de WhatsApp
   --------------------------------------------------------- */
.wa-demo-avatar {
  padding: 4px;
  background: #ffffff;
}

.wa-demo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

/* ---------------------------------------------------------
   Ajustes de legibilidad y encuadre
   --------------------------------------------------------- */
.meta-screen {
  background: #ffffff;
}

.meta-whatsapp-screen {
  background:
    radial-gradient(circle at 14% 20%, rgba(37, 211, 102, 0.055), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #0b141a;
}

.meta-facebook-screen,
.meta-instagram-screen {
  box-shadow: inset 0 0 0 1px rgba(5, 10, 25, 0.05);
}

@media (max-width: 640px) {
  .profile-demo-logo-real {
    width: 78px;
    height: 78px;
    padding: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meta-facebook-profile,
  .meta-facebook-publication,
  .meta-facebook-profile img,
  .meta-facebook-publication img,
  .meta-instagram-screen img {
    animation: none !important;
  }

  .meta-facebook-profile {
    opacity: 1 !important;
  }

  .meta-facebook-publication {
    display: none !important;
  }
}


/* =========================================================
   PYMEVÍA V12 — INSTAGRAM Y WHATSAPP SEGÚN DISEÑO APROBADO
   ========================================================= */

/*
 * Facebook y Resultado se mantienen como en la V11.
 * Instagram y WhatsApp usan las pantallas del diseño aprobado,
 * no las capturas originales enviadas como referencia.
 */
.meta-approved-screen {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: #070a1a;
}

.meta-approved-screen img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}

/* Se anulan animaciones anteriores de Instagram y WhatsApp */
.meta-demo.is-running .meta-instagram-screen img,
.meta-approved-screen img {
  animation: none !important;
}

.meta-approved-screen .meta-screen-label {
  top: 10px;
  right: 10px;
}

/* El recorte ya contiene su propio marco de teléfono. */
.meta-instagram-screen,
.meta-whatsapp-screen {
  background:
    radial-gradient(circle at 80% 10%, rgba(2, 225, 237, 0.07), transparent 30%),
    #070a1a;
}

/* Oculta cualquier estructura vieja de WhatsApp que pueda quedar por caché. */
.meta-whatsapp-screen .wa-demo-head,
.meta-whatsapp-screen .wa-demo-chat,
.meta-whatsapp-screen .wa-demo-input {
  display: none !important;
}

@media (max-width: 720px) {
  .meta-approved-screen img {
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meta-approved-screen img {
    animation: none !important;
  }
}


/* =========================================================
   PYMEVÍA V15 — CONSOLIDACIÓN Y LANZAMIENTO
   ========================================================= */

/* Lectura y accesibilidad */
.section-dark p,
.meta-platform-head p,
.real-case-note,
.dashboard-disclaimer {
  color: #b4bdd1;
}

:focus-visible {
  outline: 3px solid rgba(2, 225, 237, 0.78);
  outline-offset: 4px;
}

/* Caso real y adaptación */
.case-adaptability {
  max-width: 920px;
  margin: 28px auto 0;
  padding: 17px 20px;
  color: #c8d0e1 !important;
  border: 1px solid rgba(2, 225, 237, 0.16);
  background: rgba(2, 225, 237, 0.045);
  border-radius: 15px;
  text-align: center;
}

.case-adaptability strong {
  color: white;
}

/* Mapa: se carga cuando el usuario se acerca */
.map-demo-real {
  min-height: 100%;
}

.map-loading-placeholder {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8e99b2;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #0b1024;
  background-size: 30px 30px;
  font-size: .72rem;
  font-weight: 700;
}

.real-google-map.is-loaded + .map-loading-placeholder {
  display: none;
}

/* Meta mobile */
.meta-mobile-guide {
  display: none;
}

.meta-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.meta-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
}

.meta-slider-dots button.is-active {
  width: 22px;
  background: var(--cyan);
  border-radius: 99px;
}

/* Solución consolidada */
.consolidated-solution {
  padding-block: 92px;
}

.consolidated-solution .comparison-column li {
  padding-block: 8px;
}

/* Proceso + aplicaciones en una sola sección */
.section-process-applications {
  background: #f4f7fb;
}

.process-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid-compact .process-step {
  min-height: 210px;
}

.applications-compact {
  margin-top: 86px;
}

.applications-compact .section-heading {
  margin-bottom: 38px;
}

/* Movimiento secundario más suave */
.use-card-visual *,
.use-card-animated::after {
  animation-duration: 9s !important;
}

/* Contacto: señal de empresa y FAQ compactas */
.company-signal {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(2, 225, 237, .16);
  background: rgba(2, 225, 237, .045);
  border-radius: 16px;
}

.company-signal strong,
.company-signal span {
  display: block;
}

.company-signal strong {
  margin-bottom: 6px;
  color: white;
}

.company-signal p {
  margin-bottom: 8px;
  color: #b5bed1;
  font-size: .9rem;
}

.company-signal span {
  color: var(--cyan);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-faq-compact {
  display: grid;
  margin-top: 25px;
  gap: 9px;
}

.contact-faq-compact details {
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact-faq-compact summary {
  padding: 12px 0;
  color: white;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
}

.contact-faq-compact p {
  margin: 0 0 13px;
  color: #aeb7ca;
  font-size: .84rem;
}

@media (max-width: 1100px) {
  .process-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: 76px;
  }

  .meta-mobile-guide {
    display: grid;
    margin: -12px 0 18px;
    color: #b7c0d2;
    gap: 12px;
    text-align: center;
    font-size: .76rem;
  }

  .meta-real-showcase {
    scroll-padding-inline: 12px;
  }

  .process-grid-compact {
    grid-template-columns: 1fr;
  }

  .process-grid-compact .process-step {
    min-height: auto;
  }

  .applications-compact {
    margin-top: 62px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .button {
    min-height: 48px;
  }
}

.privacy-page{color:#f8f8fa;background:#020515}.privacy-main{width:min(calc(100% - 40px),860px);margin:auto;padding:50px 0 90px}.privacy-brand img{height:58px;width:auto}.privacy-main article{margin-top:55px}.privacy-main h1{font-size:clamp(2.5rem,7vw,4.8rem)}.privacy-main h2{margin-top:35px;font-size:1.45rem}.privacy-main p{color:#b4bdd1}.privacy-main .button{margin-top:25px}
