:root {
  --bg: #080a10;
  --panel: #10131b;
  --panel2: #151925;
  --text: #f5f7fb;
  --muted: #a2a8b8;
  --line: rgba(255, 255, 255, 0.11);
  --blue: #49b9ed;
  --red: #ff3d45;
  --orange: #ff7139;
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c7d0df;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}
.eyebrow:before {
  content: "";
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  display: inline-block;
}
.gradient-text {
  background: linear-gradient(100deg, #68d6ff 0%, #f4f6fb 48%, #ff584e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 21px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.91rem;
  transition: 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(110deg, #4abce9, #278dd0);
  color: #06101a;
  box-shadow: 0 10px 35px rgba(50, 169, 223, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(50, 169, 223, 0.32);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}
.arrow {
  font-size: 1.1rem;
}
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(8, 10, 16, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-slot {
  width: 160px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c5cad5;
  font-size: 0.86rem;
}
.navlinks a:hover {
  color: white;
}
.nav-cta {
  padding: 11px 16px;
}
/* Hero */
.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  padding: 150px 0 90px;
  overflow: hidden;
  background: #080a10;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(8, 10, 16, 0.98) 0%,
      rgba(8, 10, 16, 0.89) 37%,
      rgba(8, 10, 16, 0.24) 100%
    ),
    linear-gradient(0deg, #080a10 0%, transparent 35%),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=2200&q=85")
      center 55% / cover no-repeat;
  transform: scale(1.025);
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 80% 36%,
      rgba(43, 160, 214, 0.18),
      transparent 35%
    ),
    linear-gradient(120deg, transparent 62%, rgba(255, 56, 63, 0.08));
}
.hero-content {
  max-width: 720px;
}
.hero h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(3.1rem, 7vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 23px 0 25px;
  font-weight: 800;
}
.hero p {
  max-width: 590px;
  color: #c0c6d2;
  font-size: 1.12rem;
  line-height: 1.8;
  margin: 0 0 31px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 42px;
  color: #aeb5c4;
  font-size: 0.81rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #56d9a0;
  box-shadow: 0 0 0 5px rgba(86, 217, 160, 0.1);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 600px;
  margin-top: 49px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  gap: 20px;
}
.hero-stat strong {
  font-family: Manrope, sans-serif;
  display: block;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}
.hero-stat span {
  color: #a4abba;
  font-size: 0.78rem;
}
/* section defaults */
section {
  position: relative;
}
section[id] {
  scroll-margin-top: 130px;
}
.section {
  padding: 112px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 50px;
}
.section-head h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 18px 0;
}
.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0;
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.center .eyebrow {
  justify-content: center;
}
.center p {
  margin-left: auto;
  margin-right: auto;
}
/* No limits band */
.limit-band {
  padding: 45px 0 45px;
}
.limit-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 35px 42px;
  border: 1px solid rgba(83, 190, 235, 0.25);
  border-radius: 16px;
  background: linear-gradient(
    110deg,
    rgba(40, 133, 178, 0.16),
    rgba(255, 255, 255, 0.025) 55%,
    rgba(255, 64, 67, 0.08)
  );
}
.limit-panel:after {
  content: "∞";
  position: absolute;
  right: 25%;
  top: -100px;
  font-size: 22rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  font-family: Manrope;
  pointer-events: none;
}
.limit-panel h2 {
  font:
    800 clamp(2rem, 4vw, 3.3rem)/1 Manrope,
    sans-serif;
  letter-spacing: -0.06em;
  margin: 12px 0;
}
.limit-panel p {
  color: #b4bbc8;
  margin: 0;
  max-width: 470px;
}
.limit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  position: relative;
  z-index: 1;
}
.limit-item {
  padding: 19px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}
.limit-item strong {
  font:
    800 1.1rem Manrope,
    sans-serif;
  display: block;
  margin-bottom: 5px;
}
.limit-item span {
  font-size: 0.78rem;
  color: #adb5c3;
}
/* Features */
.features {
  background: linear-gradient(180deg, #0a0c12, #0c0f17);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 27px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.015)
  );
  overflow: hidden;
  transition: 0.25s;
}
.feature-card:hover {
  border-color: rgba(73, 185, 237, 0.48);
  transform: translateY(-4px);
  background: linear-gradient(
    145deg,
    rgba(73, 185, 237, 0.09),
    rgba(255, 255, 255, 0.02)
  );
}
.feature-card.large {
  grid-column: span 7;
  min-height: 340px;
}
.feature-card.small {
  grid-column: span 5;
  min-height: 340px;
}
.feature-card.third {
  grid-column: span 4;
}
.feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(73, 185, 237, 0.11);
  border: 1px solid rgba(73, 185, 237, 0.2);
  color: #74d8ff;
  margin-bottom: 27px;
}
.feature-icon .fi {
  display: block;
  width: 26px;
  height: 26px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.feature-card h3 {
  font:
    700 1.35rem Manrope,
    sans-serif;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.feature-card p {
  color: #aab1c0;
  font-size: 0.91rem;
  margin: 0;
  max-width: 440px;
}
.mini-ui {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
  background: rgba(3, 5, 10, 0.42);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-car {
  width: 84px;
  height: 49px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}
.mini-line {
  flex: 1;
}
.mini-line i {
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  display: block;
  margin: 6px 0;
}
.mini-line i:first-child {
  width: 80%;
  background: rgba(73, 185, 237, 0.7);
}
.mini-pill {
  font-size: 0.66rem;
  padding: 4px 7px;
  border-radius: 5px;
  color: #81e5b1;
  background: rgba(65, 200, 132, 0.12);
}
.feature-number {
  position: absolute;
  right: 20px;
  top: 19px;
  font: 700 0.75rem Manrope;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.1em;
}
/* vehicle types */
.vehicle-section {
  overflow: hidden;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.vehicle-card {
  height: 260px;
  border-radius: 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #171a22;
}
.vehicle-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.vehicle-card:hover img {
  transform: scale(1.06);
}
.vehicle-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(5, 7, 12, 0.93),
    rgba(5, 7, 12, 0.02) 75%
  );
}
.vehicle-label {
  position: absolute;
  z-index: 1;
  left: 19px;
  bottom: 17px;
}
.vehicle-label span {
  font-size: 0.68rem;
  color: #aeb7c7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vehicle-label h3 {
  font: 700 1.25rem Manrope;
  margin: 3px 0 0;
}
.vehicle-card:first-child,
.vehicle-card.wide {
  grid-column: span 2;
}
.vehicle-card:first-child .vehicle-label h3,
.vehicle-card.wide .vehicle-label h3 {
  font-size: 1.7rem;
}
.vehicle-card.custom {
  background:
    radial-gradient(
      120% 120% at 85% 15%,
      rgba(73, 185, 237, 0.32),
      transparent 60%
    ),
    linear-gradient(140deg, #101722, #0b0e16 60%, #1a1014);
}
.vehicle-card.custom::before {
  content: "+";
  position: absolute;
  right: 20px;
  top: -46px;
  font: 800 13rem Manrope, sans-serif;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
/* Workflow */
.workflow {
  background: #0c0f17;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  padding: 0 23px 0 0;
  position: relative;
}
.step:not(:last-child):after {
  content: "";
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(73, 185, 237, 0.6),
    rgba(255, 255, 255, 0.08)
  );
  position: absolute;
  top: 21px;
  left: 51px;
  right: 20px;
}
.step-no {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(73, 185, 237, 0.4);
  background: #101722;
  color: #83ddff;
  font: 700 0.86rem Manrope;
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
}
.step h3 {
  font: 700 1.05rem Manrope;
  margin: 0 0 9px;
}
.step p {
  color: #a8afbd;
  font-size: 0.86rem;
  margin: 0;
  max-width: 240px;
}
/* CTA */
.cta-section {
  padding: 105px 0;
}
.cta-box {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 75px 45px;
  text-align: center;
  background:
    linear-gradient(
      120deg,
      rgba(18, 40, 57, 0.96),
      rgba(14, 18, 29, 0.97) 55%,
      rgba(47, 19, 26, 0.9)
    ),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}
.cta-box:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0,
    rgba(73, 185, 237, 0.2),
    transparent 50%
  );
  pointer-events: none;
}
.cta-box > * {
  position: relative;
}
.cta-box h2 {
  font: 800 clamp(2.3rem, 5vw, 4.5rem)/1.05 Manrope;
  letter-spacing: -0.06em;
  margin: 18px auto;
  max-width: 800px;
}
.cta-box p {
  max-width: 570px;
  margin: 0 auto 29px;
  color: #c0c7d4;
}
.cta-box .hero-actions {
  justify-content: center;
}
/* About */
.about {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #07090e;
  padding: 70px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.about h2 {
  font: 800 clamp(1.8rem, 3.2vw, 2.8rem)/1.1 Manrope;
  letter-spacing: -0.05em;
  margin: 16px 0;
}
.about p {
  color: #aab1bf;
  margin: 0;
  max-width: 570px;
}
.vetta-slot {
  width: 220px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.vetta-slot img {
  width: 200px;
  height: auto;
  object-fit: contain;
  display: block;
}
.about-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #737c8c;
}
.about-foot a {
  color: #b8c2d2;
}
.about-foot a:hover {
  color: white;
}

/* ============================================================
   SECCIÓN: INTEGRACIÓN NATIVA CON META
   ============================================================ */
.meta-section {
  position: relative;
  overflow: hidden;
}

.meta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(24, 119, 242, 0.12), transparent 60%),
    radial-gradient(600px circle at 85% 80%, rgba(139, 92, 246, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.meta-section > .wrap {
  position: relative;
  z-index: 1;
}

/* --- Layout dividido --- */
.meta-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* --- Columna de texto --- */
.meta-copy .meta-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.875rem;
}

.meta-copy .meta-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text, #eef0f6);
}

.meta-copy .meta-bullets li::before {
  content: "✓";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1877f2 0%, #8b5cf6 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* --- Chips de marcas --- */
.meta-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-brands span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--text, #eef0f6);
  background: rgba(24, 119, 242, 0.12);
  border: 1px solid rgba(24, 119, 242, 0.3);
}

/* --- Mockup tipo Facebook --- */
.meta-visual {
  display: flex;
  justify-content: center;
}

.meta-window {
  width: 100%;
  max-width: 460px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  color: #050505;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(-1deg);
  transition: transform 0.4s ease;
}

.meta-window:hover {
  transform: rotate(0deg) translateY(-4px);
}

.meta-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: #f0f2f5;
  border-bottom: 1px solid #e4e6eb;
}

.meta-window-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.meta-window-bar > span:nth-child(2) { background: #febc2e; }
.meta-window-bar > span:nth-child(3) { background: #28c840; }

.meta-window-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff;
  color: #65676b;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-window-body {
  padding: 16px;
  background: #f0f2f5;
}

.meta-post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.meta-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.meta-avatar {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1877f2 0%, #8b5cf6 100%);
}

.meta-avatar::after {
  content: "S";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.meta-post-head strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #050505;
}
.meta-post-head span {
  display: block;
  font-size: 12px;
  color: #65676b;
}

.meta-post-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e4e6eb;
  background-size: cover;
  background-position: center;
}

.meta-post-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
}
.meta-post-meta strong { font-size: 15px; font-weight: 700; }
.meta-post-meta span { font-size: 13px; color: #65676b; }

.meta-post-actions {
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  border-top: 1px solid #e4e6eb;
  font-size: 13px;
  font-weight: 600;
  color: #65676b;
}
.meta-post-actions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Grilla de tarjetas --- */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.meta-card {
  padding: 1.75rem;
  border-radius: 16px;
  background: var(--panel, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.meta-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 119, 242, 0.45);
  background: rgba(24, 119, 242, 0.05);
}

.meta-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 119, 242, 0.14);
  color: #6aa9ff;
  margin-bottom: 1rem;
}

.meta-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text, #eef0f6);
}

.meta-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted, rgba(238, 240, 246, 0.62));
}

/* ============================================================
   SECCIÓN: AGENTE DE IA
   ============================================================ */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 20% 20%, rgba(168, 85, 247, 0.12), transparent 60%),
    radial-gradient(600px circle at 85% 80%, rgba(236, 72, 153, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.ai-section > .wrap {
  position: relative;
  z-index: 1;
}

/* --- Split texto / mockup --- */
.ai-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* --- Bullets --- */
.ai-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.875rem;
}

.ai-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text, #eef0f6);
}

.ai-bullets li::before {
  content: "✓";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* --- Mockup / tarjeta del lead --- */
.ai-visual {
  display: flex;
  justify-content: center;
}

.ai-card {
  width: 100%;
  max-width: 460px;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--panel, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(168, 85, 247, 0.08) inset;
  display: grid;
  gap: 1rem;
}

.ai-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.14);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.ai-card-time {
  font-size: 0.75rem;
  color: var(--muted, rgba(238, 240, 246, 0.55));
}

.ai-lead-question {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.06));
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text, #eef0f6);
  font-style: italic;
}

/* Score ring */
.ai-score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ai-score-ring {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}

.ai-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ai-ring-bg {
  stroke: rgba(168, 85, 247, 0.16);
}

.ai-ring-fg {
  stroke: url(#aiRingGrad);
}

.ai-score-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  color: #fff;
}

.ai-score-info strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text, #eef0f6);
  margin-bottom: 2px;
}

.ai-score-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted, rgba(238, 240, 246, 0.55));
  line-height: 1.4;
}

/* Tags */
.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ai-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  color: var(--muted, rgba(238, 240, 246, 0.72));
}

.ai-tag.hot {
  background: rgba(236, 72, 153, 0.14);
  border-color: rgba(236, 72, 153, 0.35);
  color: #f9a8d4;
}

/* Asignación */
.ai-assigned {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.ai-assigned-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-assigned-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ai-assigned-info span {
  font-size: 0.72rem;
  color: var(--muted, rgba(238, 240, 246, 0.55));
}

.ai-assigned-info strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text, #eef0f6);
}

.ai-assigned-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c084fc;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.16);
  white-space: nowrap;
}

/* --- Flujo del agente --- */
.ai-flow {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--panel, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.ai-flow-step {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.ai-flow-no {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-flow-step strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text, #eef0f6);
  margin-bottom: 2px;
}

.ai-flow-step span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted, rgba(238, 240, 246, 0.62));
}

.ai-flow-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: rgba(168, 85, 247, 0.5);
  font-size: 1.15rem;
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .ai-split {
    grid-template-columns: 1fr;
  }
  .ai-flow {
    flex-direction: column;
    gap: 1rem;
  }
  .ai-flow-arrow {
    transform: rotate(90deg);
    align-self: flex-start;
    margin-left: 8px;
  }
}

@media (max-width: 600px) {
  .ai-card {
    padding: 1.25rem;
  }
  .ai-score {
    gap: 0.75rem;
  }
  .ai-assigned-badge {
    font-size: 0.65rem;
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .meta-split {
    grid-template-columns: 1fr;
  }
  .meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .meta-window {
    transform: none;
  }
  .meta-post-actions span {
    font-size: 12px;
  }
}


@media (max-width: 900px) {
  .navlinks {
    gap: 15px;
  }
  .navlinks a:not(.nav-cta) {
    display: none;
  }
  .hero {
    min-height: 700px;
  }
  .limit-panel {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .limit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-card.large,
  .feature-card.small {
    grid-column: span 6;
  }
  .feature-card.third {
    grid-column: span 6;
  }
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vehicle-card:first-child {
    grid-column: span 2;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  .step:not(:last-child):after {
    display: none;
  }
  .about-inner {
    gap: 30px;
  }
}
@media (max-width: 600px) {
  section[id] {
    scroll-margin-top: 116px;
  }
  .wrap {
    width: min(var(--max), calc(100% - 34px));
  }
  .nav {
    height: 72px;
  }
  .brand-slot {
    width: 130px;
    height: 39px;
  }
  .nav-cta {
    font-size: 0.78rem;
    padding: 10px 12px;
  }
  .hero {
    padding: 125px 0 60px;
    min-height: 690px;
  }
  .hero:before {
    background:
      linear-gradient(90deg, rgba(8, 10, 16, 0.95), rgba(8, 10, 16, 0.72)),
      linear-gradient(0deg, #080a10 0%, transparent 55%),
      url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1200&q=80")
        62% center/cover no-repeat;
  }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 12px;
  }
  .hero-stat strong {
    font-size: 1rem;
  }
  .hero-stat span {
    font-size: 0.7rem;
  }
  .section {
    padding: 75px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .limit-panel {
    padding: 26px 22px;
  }
  .limit-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .limit-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 14px 0;
  }
  .feature-card.large,
  .feature-card.small,
  .feature-card.third {
    grid-column: span 12;
    min-height: 260px;
  }
  .vehicle-grid {
    gap: 10px;
  }
  .vehicle-card {
    height: 205px;
  }
  .vehicle-card:first-child,
  .vehicle-card.wide {
    height: 230px;
  }
  .vehicle-label {
    left: 13px;
    bottom: 13px;
  }
  .vehicle-label h3 {
    font-size: 1.05rem;
  }
  .vehicle-card:first-child .vehicle-label h3,
  .vehicle-card.wide .vehicle-label h3 {
    font-size: 1.35rem;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
  }
  .step-no {
    grid-row: span 2;
    margin-bottom: 0;
  }
  .step h3 {
    align-self: end;
  }
  .step p {
    max-width: none;
  }
  .cta-section {
    padding: 70px 0;
  }
  .cta-box {
    padding: 55px 22px;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about {
    padding: 55px 0;
  }
  .about-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
