:root {
  --bg: #ffffff;
  --soft: #f7f9ff;
  --panel: #ffffff;
  --text: #07122f;
  --muted: #667085;
  --line: #e6ebf5;
  --blue: #2563eb;
  --blue2: #38bdf8;
  --purple: #7c3aed;
  --green: #10b981;
  --shadow: 0 22px 70px rgba(37, 99, 235, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.section {
  padding: 64px 7%;
}
.bg-dots {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: radial-gradient(circle, #d8e2ff 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(
    90deg,
    transparent 0 50%,
    #000 78%,
    transparent 100%
  );
  opacity: 0.9;
}
.glow {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.3;
  pointer-events: none;
}
.glow-blue {
  width: 540px;
  height: 320px;
  right: 8%;
  top: 150px;
  background: #60a5fa;
}
.glow-purple {
  width: 520px;
  height: 320px;
  right: 0;
  top: 350px;
  background: #a78bfa;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 7%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-size: 14px;
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.24);
}
.nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
}
.nav a {
  color: #111827;
}
.nav a:hover {
  color: var(--blue);
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  color: var(--text);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
  transition: 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.32);
}
.btn-small {
  padding: 12px 20px;
  font-size: 14px;
}
.btn-outline {
  background: rgba(255, 255, 255, 0.82);
  color: #111827;
  border: 1px solid #dce5f7;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.play {
  color: var(--blue);
}
.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 80px;
}
.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}
.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.hero h1 {
  max-width: 790px;
  margin: 26px 0 20px;
  font-size: clamp(44px, 5.3vw, 82px);
  line-height: 1.04;
  letter-spacing: -4px;
}
.hero h1 span,
.section-title h2 span {
  background: linear-gradient(90deg, var(--blue), #4094ff, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 34px 0 44px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 820px;
}
.trust-row div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.04);
  font-size: 14px;
  color: #344054;
}
.trust-row span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--blue);
  font-size: 12px;
}
.hero-visual {
  position: relative;
  height: 560px;
}
.dashboard-card,
.phone {
  position: absolute;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.dashboard-card {
  right: 0;
  top: 0;
  width: 620px;
  max-width: 95%;
  min-height: 390px;
  border-radius: 28px;
  padding: 26px;
}
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-top span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1f2937;
}
.dash-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.metric-grid div,
.chart-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}
.metric-grid small,
.chart-card small,
.ring small {
  color: #667085;
}
.metric-grid b {
  display: block;
  margin: 10px 0 6px;
  font-size: 24px;
}
.metric-grid em {
  color: var(--green);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.dash-body {
  display: grid;
  grid-template-columns: 1.65fr 0.9fr;
  gap: 16px;
}
.chart-line {
  height: 122px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f7ff, #fff);
  border-radius: 12px;
}
.chart-line:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#e9eefb 1px, transparent 1px),
    linear-gradient(90deg, #e9eefb 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.7;
}
.chart-line span,
.mini-chart {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 20px;
  height: 70px;
  background: linear-gradient(
    135deg,
    transparent 0 8%,
    var(--blue) 9%,
    transparent 12% 21%,
    var(--purple) 24%,
    transparent 28% 39%,
    #3b82f6 43%,
    transparent 48% 58%,
    var(--purple) 61%,
    transparent 66% 76%,
    #2563eb 80%,
    transparent 85%
  );
}
.ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.ring:before {
  content: "";
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(
    var(--blue) 0 44%,
    var(--purple) 44% 68%,
    #edf2ff 68% 100%
  );
  box-shadow: inset 0 0 0 18px #fff;
}
.ring span {
  position: absolute;
  font-size: 28px;
  font-weight: 900;
}
.phone {
  width: 190px;
  height: 360px;
  border-radius: 34px;
  padding: 12px;
  background: #111827;
}
.phone-1 {
  left: 8%;
  top: 165px;
}
.phone-2 {
  right: 7%;
  top: 305px;
}
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 16px;
  border-radius: 99px;
  background: #0f172a;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 24px;
  padding: 34px 18px 18px;
  overflow: hidden;
}
.light-screen {
  background: #fff;
  color: #101828;
}
.dark-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 40% 95%, #38bdf8, transparent 28%),
    linear-gradient(160deg, #08144a, #1d1b72 55%, #7c3aed);
  color: white;
}
.phone-screen h3 {
  margin: 10px 0;
  font-size: 21px;
}
.phone-screen p,
.phone-screen li {
  font-size: 12px;
  color: #667085;
  line-height: 1.4;
}
.dark-screen p {
  color: #dbeafe;
}
.phone-screen ul {
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}
.phone-screen li {
  display: flex;
  justify-content: space-between;
  margin: 9px 0;
}
.phone-screen li span {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #eef4ff;
}
.phone-screen li b {
  color: var(--green);
  font-size: 10px;
}
.mini-chart {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  height: 72px;
  margin: 12px 0;
  border-radius: 14px;
  background-color: #f1f6ff;
}
.dark-screen button {
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--blue);
  padding: 10px 20px;
  font-weight: 800;
}
.floating {
  animation: float 6s ease-in-out infinite;
}
.delay-1 {
  animation-delay: 1s;
}
.delay-2 {
  animation-delay: 2s;
}
@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: -24px 10% 20px;
  padding: 24px 44px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.stat {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 18px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: 0;
}
.stat span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 24px;
}
.stat strong {
  font-size: 32px;
  color: var(--blue);
}
.stat small {
  color: var(--muted);
}
.soft-section {
  background: linear-gradient(180deg, #fff, var(--soft), #fff);
}
.section-title {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}
.section-title h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card,
.project,
.testimonial,
.timeline div {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  transition: 0.25s ease;
}
.card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
}
.card:hover,
.project:hover,
.testimonial:hover,
.timeline div:hover {
  transform: translateY(-5px);
  border-color: #cbd7ff;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.12);
}
.icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e0f2fe, #ede9fe);
  color: var(--blue);
  font-size: 28px;
}
.card h3 {
  margin: 0 0 8px;
}
.card p,
.project p,
.testimonial p,
.timeline p,
.footer p,
.footer a {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.card a {
  color: #98a2b3;
  font-size: 22px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.why-grid div {
  padding: 20px;
}
.why-grid span {
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--blue);
}
.why-grid b {
  display: block;
  margin-bottom: 8px;
}
.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.tech-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}
.tech-tags span {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  font-weight: 700;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.project {
  overflow: hidden;
}
.project-img {
  height: 178px;
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  position: relative;
}
.project-img:before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.9),
    rgba(124, 58, 237, 0.75)
  );
  opacity: 0.9;
}
.project-img:after {
  content: "";
  position: absolute;
  inset: 45px 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.32) 0 48px,
    transparent 48px 60px
  );
}
.project small {
  display: inline-block;
  margin: 18px 18px 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 800;
}
.project h3 {
  margin: 0 18px 8px;
}
.project p {
  padding: 0 18px 22px;
}
.center {
  text-align: center;
  margin-top: 32px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.timeline div {
  padding: 24px;
}
.timeline span {
  color: var(--blue);
  font-weight: 900;
}
.timeline b {
  display: block;
  margin: 10px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  padding: 28px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-weight: 900;
}
.testimonial small {
  color: var(--muted);
}
.testimonial b {
  color: #f59e0b;
}
.cta {
  margin: 40px 7%;
  padding: 64px 26px;
  text-align: center;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 30% 0,
      rgba(255, 255, 255, 0.32),
      transparent 35%
    ),
    linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  box-shadow: 0 30px 80px rgba(79, 70, 229, 0.25);
}
.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
}
.cta p {
  max-width: 680px;
  margin: 0 auto 30px;
  color: #dbeafe;
  font-size: 18px;
}
.cta .btn {
  background: #fff;
  color: var(--blue);
}
.footer {
  margin: 60px 7% 0;
  padding: 42px 42px 0;
  border-radius: 26px 26px 0 0;
  background: #07122f;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 54px;
  padding-bottom: 36px;
}
.footer h4 {
  margin: 0 0 12px;
}
.footer a {
  display: block;
  margin: 12px 0;
  color: #cbd5e1;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}
.footer-bottom a {
  display: inline;
  margin-left: 18px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 590px;
  }
  .dashboard-card {
    left: 8%;
    right: auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .project-grid,
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-right: 0;
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 820px) {
  .section {
    padding: 48px 22px;
  }
  .header {
    padding: 16px 22px;
  }
  .nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav.open {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 22px;
    right: 22px;
    top: 76px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }
  .header .btn-small {
    display: none;
  }
  .hero {
    padding-top: 54px;
    gap: 28px;
  }
  .hero h1 {
    letter-spacing: -2px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .trust-row,
  .services-grid,
  .why-grid,
  .project-grid,
  .testimonial-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
    margin: 0 22px 20px;
    padding: 22px;
  }
  .stat {
    justify-content: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .hero-visual {
    display: none;
  }
  .card {
    grid-template-columns: auto 1fr;
  }
  .card a {
    display: none;
  }
  .cta,
  .footer {
    margin-left: 22px;
    margin-right: 22px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-bottom a {
    margin-left: 0;
    margin-right: 18px;
  }
}

/* ===== Ajustes finales: imagen real + iconos SVG premium ===== */
.logo img {
  width: 24px;
  height: 24px;
  display: block;
}
.brand .logo {
  background: transparent;
  box-shadow: none;
  width: 40px;
  height: 40px;
}
.hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 560px;
}
.hero-dashboard-img {
  width: min(680px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 35px 70px rgba(37, 99, 235, 0.16));
}
.hero-image-wrap:before {
  content: "";
  position: absolute;
  inset: 12% 5% 8%;
  background:
    radial-gradient(
      circle at 25% 35%,
      rgba(124, 58, 237, 0.24),
      transparent 18%
    ),
    radial-gradient(
      circle at 76% 30%,
      rgba(37, 99, 235, 0.18),
      transparent 25%
    ),
    radial-gradient(circle at 55% 70%, rgba(6, 182, 212, 0.14), transparent 22%);
  filter: blur(22px);
  z-index: -1;
}
.trust-row span img,
.stat span img,
.why-grid span img {
  width: 22px;
  height: 22px;
  display: block;
}
.trust-row span {
  background: #eef4ff;
}
.icon img {
  width: 34px;
  height: 34px;
  display: block;
}
.icon {
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}
.stat span {
  background: linear-gradient(135deg, #eef6ff, #f1edff);
}
.why-grid span {
  background: linear-gradient(135deg, #eef6ff, #f1edff);
}
@media (max-width: 1180px) {
  .hero-image-wrap {
    height: auto;
  }
  .hero-dashboard-img {
    max-width: 760px;
  }
}
@media (max-width: 820px) {
  .hero-visual.hero-image-wrap {
    display: flex;
    height: auto;
    margin-top: 10px;
  }
  .hero-dashboard-img {
    width: 100%;
  }
}

/* ===== Refinamiento visual: tipografía e iconos como la propuesta ===== */
body {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.7px;
}
.nav {
  font-weight: 600;
  letter-spacing: -0.2px;
}
.hero h1 {
  font-weight: 800;
  letter-spacing: -3.2px;
  line-height: 1.03;
}
.hero p {
  font-weight: 500;
  color: #64708b;
}
.btn {
  font-weight: 700;
  border-radius: 12px;
}
.section-title h2 {
  font-weight: 800;
  letter-spacing: -1.8px;
}
.card h3,
.project h3,
.testimonial h3 {
  font-weight: 800;
  letter-spacing: -0.35px;
}
.icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(135deg, #eaf7ff 0%, #f1edff 100%);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.04);
}
.icon img {
  width: 31px;
  height: 31px;
}
.trust-row span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef4ff;
  box-shadow: none;
}
.trust-row span img {
  width: 15px;
  height: 15px;
}
.stat span {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(135deg, #eff6ff, #f2eeff);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.04);
}
.stat span img {
  width: 31px;
  height: 31px;
}
.why-grid span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f6ff;
}
.why-grid span img {
  width: 22px;
  height: 22px;
}

/* === Corrección solicitada: hero y logo 100% SVG === */
.brand {
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.1px;
  color: #07122f;
}
.brand .logo {
  width: 46px;
  height: 40px;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
}
.brand .logo img {
  width: 46px;
  height: 40px;
  display: block;
}
.hero-image-wrap {
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}
.hero-dashboard-img {
  width: min(760px, 112%);
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  filter: none;
}
.hero-image-wrap:before {
  content: "";
  position: absolute;
  inset: 8% 0 4%;
  background:
    radial-gradient(
      circle at 14% 28%,
      rgba(124, 58, 237, 0.18),
      transparent 18%
    ),
    radial-gradient(
      circle at 76% 48%,
      rgba(124, 58, 237, 0.16),
      transparent 24%
    ),
    radial-gradient(circle at 50% 74%, rgba(37, 99, 235, 0.1), transparent 28%);
  filter: blur(22px);
  z-index: -1;
}
@media (max-width: 1180px) {
  .hero-dashboard-img {
    width: min(760px, 100%);
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .brand {
    font-size: 22px;
  }
  .brand .logo {
    width: 42px;
  }
  .brand .logo img {
    width: 42px;
  }
  .hero-dashboard-img {
    width: 100%;
  }
}

.brand-text {
  font-weight: 500;
}

.brand-text strong {
  font-weight: 800;
}

/* ===== MODO OSCURO MODERNO ===== */
:root {
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050713;
  --soft: #080b18;
  --panel: #0c1022;
  --text: #f8fbff;
  --muted: #9aa6bd;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

body,
.header,
.card,
.project,
.testimonial,
.timeline div,
.stats-strip,
.dashboard-card,
.metric-grid div,
.chart-card,
.ring,
.tech-tags span,
.trust-row div,
.phone-screen.light-screen {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.82);
  color: #07122f;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.theme-toggle__icon {
  position: absolute;
  font-size: 18px;
  line-height: 1;
  transition: 0.25s ease;
}

.theme-toggle__icon--sun {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.theme-toggle__icon--moon {
  opacity: 0;
  transform: translateY(18px) rotate(-25deg);
}

[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fbff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: translateY(-18px) rotate(25deg);
}

[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

[data-theme="dark"] body {
  background:
    radial-gradient(
      circle at 75% 16%,
      rgba(37, 99, 235, 0.18),
      transparent 26%
    ),
    radial-gradient(
      circle at 18% 35%,
      rgba(124, 58, 237, 0.16),
      transparent 28%
    ),
    #050713;
}

[data-theme="dark"] .header {
  background: rgba(5, 7, 19, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .brand,
[data-theme="dark"] .nav a,
[data-theme="dark"] .btn-outline,
[data-theme="dark"] .metric-grid b,
[data-theme="dark"] .hero h1,
[data-theme="dark"] .dashboard-card,
[data-theme="dark"] .dash-top span,
[data-theme="dark"] .ring span,
[data-theme="dark"] .card h3,
[data-theme="dark"] .project h3,
[data-theme="dark"] .testimonial h3,
[data-theme="dark"] .why-grid b {
  color: var(--text);
}

[data-theme="dark"] .bg-dots {
  background: radial-gradient(
    circle,
    rgba(120, 150, 255, 0.35) 1px,
    transparent 1.5px
  );
  opacity: 0.38;
}

[data-theme="dark"] .glow-blue {
  opacity: 0.28;
  background: #2563eb;
}
[data-theme="dark"] .glow-purple {
  opacity: 0.3;
  background: #7c3aed;
}

[data-theme="dark"] .dashboard-card,
[data-theme="dark"] .phone,
[data-theme="dark"] .stats-strip,
[data-theme="dark"] .card,
[data-theme="dark"] .project,
[data-theme="dark"] .testimonial,
[data-theme="dark"] .timeline div {
  background: linear-gradient(
    145deg,
    rgba(17, 24, 54, 0.88),
    rgba(8, 11, 27, 0.86)
  );
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

[data-theme="dark"] .metric-grid div,
[data-theme="dark"] .chart-card,
[data-theme="dark"] .ring,
[data-theme="dark"] .trust-row div,
[data-theme="dark"] .tech-tags span,
[data-theme="dark"] .phone-screen.light-screen {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .chart-line,
[data-theme="dark"] .mini-chart {
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.14),
    rgba(255, 255, 255, 0.03)
  );
}

[data-theme="dark"] .chart-line:before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
}

[data-theme="dark"] .soft-section {
  background: linear-gradient(180deg, #050713, #080b18, #050713);
}

[data-theme="dark"] .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

[data-theme="dark"] .badge,
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .trust-row span,
[data-theme="dark"] .why-grid span,
[data-theme="dark"] .stat span,
[data-theme="dark"] .icon {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.18),
    rgba(124, 58, 237, 0.18)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .phone-screen p,
[data-theme="dark"] .phone-screen li,
[data-theme="dark"] .card p,
[data-theme="dark"] .project p,
[data-theme="dark"] .testimonial p,
[data-theme="dark"] .timeline p,
[data-theme="dark"] .why-grid p,
[data-theme="dark"] .hero p,
[data-theme="dark"] .footer p,
[data-theme="dark"] .footer a {
  color: var(--muted);
}

[data-theme="dark"] .footer {
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
}

@media (max-width: 820px) {
  .theme-toggle {
    width: 42px;
    height: 42px;
  }

  [data-theme="dark"] .nav.open {
    background: #080b18;
    border-color: rgba(255, 255, 255, 0.1);
  }
}
.cta-card {
  margin: 60px 7%;
  padding: 64px 40px;
  text-align: center;

  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 28px;

  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.cta-card h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--text);
}

.cta-card p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
[data-theme="dark"] .cta-card {
  background: linear-gradient(
    145deg,
    rgba(17, 24, 54, 0.88),
    rgba(8, 11, 27, 0.86)
  );

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

[data-theme="dark"] .cta-card h2 {
  color: var(--text);
}

[data-theme="dark"] .cta-card p {
  color: var(--muted);
}
.hero-robot {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.robot-image {
  width: 100%;
  max-width: 650px;
  height: auto;

  animation: floatRobot 6s ease-in-out infinite;
}

@keyframes floatRobot {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

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

.floating-card {
  position: absolute;

  padding: 18px 28px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 18px;
  background: white;

  border-radius: 16px;

  border: 1px solid #e5e7eb;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

  font-weight: 700;
}

.card-1 {
  top: 10%;
  left: 5%;
}

.card-2 {
  top: 50%;
  right: 0;
}

.card-3 {
  bottom: 15%;
  left: 10%;
}

.robot-image {
  width: 100%;
  max-width: 400px;
}

.hero-robot {
  margin-right: -80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.robot-image {
  width: 100%;
  max-width: 950px;
  height: auto;

  transform: scale(1.4);

  filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.18));
}

[data-theme="dark"] .floating-card {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.22),
    rgba(124, 58, 237, 0.22)
  );
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.18);
  backdrop-filter: blur(18px);
}

@media (max-width: 992px) {
  .hero-visual.hero-robot {
    display: none;
  }
}
