/* Ruteo con IA (Frogmi Intelligence) */

.frogmi-ruteo-page-wrap {
  --ruteo-bg: #0a0a0a;
  --ruteo-surface: #0d1219;
  --ruteo-card: #161d27;
  --ruteo-accent: #51ba5c;
  --ruteo-docs: #e6c22f;
  --ruteo-exec: #ba52b2;
  --ruteo-muted: #c5c9ce;
  background: var(--ruteo-bg) url("../../img/fondo-ia.webp") no-repeat center top;
  background-size: cover;
  color: #fff;
}

.frogmi-ruteo-page p,
.frogmi-ruteo-page li {
  color: #fff;
}

.frogmi-ruteo-page p.frogmi-ruteo-eyebrow,
.frogmi-ruteo-page .frogmi-ruteo-eyebrow {
  color: var(--ruteo-accent);
}

.frogmi-ruteo-page-wrap .frogmi-header {
  --frogmi-header-bg: transparent;
  --frogmi-header-blur: none;
  --frogmi-header-shadow: none;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.frogmi-ruteo-page-wrap .frogmi-header.is-scrolled {
  --frogmi-header-bg: #0a0a0a;
  background: #0a0a0a;
}

.frogmi-ruteo-page-wrap .frogmi-header__menu,
.frogmi-ruteo-page-wrap .frogmi-header__dropdown-trigger {
  color: #e8e8e8;
}

.frogmi-ruteo-page-wrap .frogmi-header__menu > a:hover,
.frogmi-ruteo-page-wrap .frogmi-header__menu > a.is-active,
.frogmi-ruteo-page-wrap .frogmi-header__dropdown-trigger:hover,
.frogmi-ruteo-page-wrap .frogmi-header__dropdown-trigger.is-active {
  color: var(--ruteo-accent);
}

@media (max-width: 1024px) {
  .frogmi-ruteo-page-wrap .frogmi-header__inner,
  .frogmi-ruteo-page-wrap .frogmi-header.is-menu-open .frogmi-header__inner {
    background: transparent;
    box-shadow: none;
  }

  .frogmi-ruteo-page-wrap .frogmi-header__toggle-line {
    background: #e8e8e8;
  }

  .frogmi-ruteo-page-wrap .frogmi-header__panel {
    background: #0f0f0f;
  }

  .frogmi-ruteo-page-wrap .frogmi-header__panel-close {
    background: rgba(255, 255, 255, 0.08);
    color: #e8e8e8;
  }

  .frogmi-ruteo-page-wrap .frogmi-header__menu > a,
  .frogmi-ruteo-page-wrap .frogmi-header__menu > .frogmi-header__dropdown {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .frogmi-ruteo-page-wrap .frogmi-header__mega-title {
    color: #fff;
  }

  .frogmi-ruteo-page-wrap .frogmi-header__panel .frogmi-header__dropdown-menu a {
    color: #bdbdbd;
  }
}

.frogmi-ruteo-page-wrap.frogmi-landing h3.frogmi-footer__col-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1a1a1a;
}

.frogmi-ruteo-page h1,
.frogmi-ruteo-page h2,
.frogmi-ruteo-page h3 {
  font-weight: 600;
  text-transform: none;
  color: #fff;
}

.frogmi-ruteo-page {
  overflow: hidden;
}

.frogmi-ruteo-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.frogmi-ruteo-page p.frogmi-ruteo-eyebrow {
  color: var(--ruteo-accent);
}

.frogmi-ruteo-eyebrow--left {
  justify-content: flex-start;
}

.frogmi-ruteo-section-title {
  margin: 0 auto 18px;
  max-width: 840px;
  text-align: center;
  font-size: 33px;
  line-height: 1.18;
}

.frogmi-ruteo-section-title--left {
  margin-left: 0;
  text-align: left;
}

.frogmi-ruteo-page p.frogmi-ruteo-hero__text,
.frogmi-ruteo-page p.frogmi-ruteo-blind__text,
.frogmi-ruteo-page p.frogmi-ruteo-paths__text,
.frogmi-ruteo-page p.frogmi-ruteo-more__intro,
.frogmi-ruteo-page p.frogmi-ruteo-sectors__intro {
  color: var(--ruteo-muted);
  font-size: 16px;
  line-height: 1.65;
}

.frogmi-ruteo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ruteo-accent);
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(81, 186, 92, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.frogmi-ruteo-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.frogmi-ruteo-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.frogmi-ruteo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.frogmi-ruteo-hero {
  padding: 24px 0 90px;
}

.frogmi-ruteo-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.frogmi-ruteo-hero__title {
  margin: 0 0 20px;
  font-size: 43px;
  line-height: 1.12;
}

.frogmi-ruteo-hero__text {
  margin: 0 0 28px;
  max-width: 560px;
}

.frogmi-ruteo-flow {
  margin: 0;
  padding: 22px;
  border-radius: 22px;
  background: rgba(13, 18, 25, 0.75);
  border: 1px solid rgba(81, 186, 92, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.frogmi-ruteo-flow__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.frogmi-ruteo-flow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ruteo-accent);
  box-shadow: 0 0 0 4px rgba(81, 186, 92, 0.2), 0 0 12px var(--ruteo-accent);
}

.frogmi-ruteo-flow__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}

.frogmi-ruteo-flow__source {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frogmi-ruteo-flow__source .frogmi-ruteo-flow__card {
  align-self: stretch;
}

.frogmi-ruteo-flow__card {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ruteo-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.frogmi-ruteo-page .frogmi-ruteo-flow__card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ruteo-accent);
}

.frogmi-ruteo-page .frogmi-ruteo-flow__card p {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ruteo-muted);
}

.frogmi-ruteo-flow__line--down {
  width: 0;
  height: 54px;
  border-left: 1px dashed rgba(81, 186, 92, 0.7);
}

.frogmi-ruteo-flow__node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid rgba(81, 186, 92, 0.7);
  background: #0f1a14;
  box-shadow: 0 0 22px rgba(81, 186, 92, 0.25);
  font-size: 14px;
  font-weight: 600;
}

.frogmi-ruteo-flow__node::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 60px;
  border-top: 1px dashed rgba(81, 186, 92, 0.7);
}

.frogmi-ruteo-flow__targets {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}

.frogmi-ruteo-flow__targets::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  border-left: 1px dashed rgba(81, 186, 92, 0.7);
}

.frogmi-ruteo-flow__targets .frogmi-ruteo-flow__card {
  position: relative;
}

.frogmi-ruteo-flow__targets .frogmi-ruteo-flow__card::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 22px;
  width: 18px;
  border-top: 1px dashed rgba(81, 186, 92, 0.7);
}

/* Blind spot */
.frogmi-ruteo-blind {
  padding: 40px 0 90px;
}

.frogmi-ruteo-blind__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.frogmi-ruteo-blind__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.frogmi-ruteo-blind__text {
  margin: 0 0 26px;
}

/* Steps */
.frogmi-ruteo-steps {
  padding: 40px 0 90px;
}

.frogmi-ruteo-steps__header {
  margin-bottom: 34px;
}

.frogmi-ruteo-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frogmi-ruteo-steps__card {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: 18px;
  background: #fff;
}

.frogmi-ruteo-steps__num {
  display: block;
  width: 39px;
  height: auto;
  margin-bottom: 14px;
}

.frogmi-ruteo-page .frogmi-ruteo-steps__title {
  margin: 0 0 8px;
  font-size: 19px;
  color: #1b1b1a;
}

.frogmi-ruteo-page p.frogmi-ruteo-steps__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4a4f55;
}

/* One report, many paths */
.frogmi-ruteo-paths {
  padding: 40px 0 100px;
}

.frogmi-ruteo-paths__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.frogmi-ruteo-paths__text {
  margin: 0 0 26px;
}

.frogmi-ruteo-paths__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px auto;
  align-items: center;
}

.frogmi-ruteo-report {
  padding: 16px;
  border-radius: 14px;
  background: var(--ruteo-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.frogmi-ruteo-page p.frogmi-ruteo-report__tag {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ruteo-accent);
}

.frogmi-ruteo-page p.frogmi-ruteo-report__quote {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
}

.frogmi-ruteo-report__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.frogmi-ruteo-page p.frogmi-ruteo-report__temp {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 13px;
}

.frogmi-ruteo-paths__link {
  border-top: 1px dashed rgba(81, 186, 92, 0.7);
}

.frogmi-ruteo-paths__hub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ruteo-accent) !important;
}

.frogmi-ruteo-paths__hub img {
  width: 76px;
  height: auto;
  padding: 12px 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(81, 186, 92, 0.25), 0 0 26px rgba(81, 186, 92, 0.45);
}

.frogmi-ruteo-paths__cases {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.frogmi-ruteo-paths__cases::before {
  content: "";
  position: absolute;
  left: 16.6%;
  right: 16.6%;
  top: -24px;
  height: 24px;
  border: 1px dashed rgba(81, 186, 92, 0.7);
  border-bottom: none;
}

.frogmi-ruteo-case {
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--ruteo-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.frogmi-ruteo-page .frogmi-ruteo-case__title {
  margin: 12px 0 8px;
  font-size: 16px;
  color: var(--ruteo-accent);
}

.frogmi-ruteo-page p.frogmi-ruteo-case__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ruteo-muted);
}

/* Capabilities */
.frogmi-ruteo-more {
  padding: 40px 0 90px;
}

.frogmi-ruteo-more__header {
  margin-bottom: 40px;
  text-align: center;
}

.frogmi-ruteo-more__intro {
  margin: 0 auto;
  max-width: 760px;
}

.frogmi-ruteo-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.frogmi-ruteo-cap {
  padding: 28px 26px;
  border-radius: 18px;
  background: #fff;
}

.frogmi-ruteo-cap__icon {
  display: block;
  margin-bottom: 18px;
}

.frogmi-ruteo-page p.frogmi-ruteo-cap__tag {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3ea248;
}

.frogmi-ruteo-page .frogmi-ruteo-cap__title {
  margin: 0 0 8px;
  font-size: 19px;
  color: #1b1b1a;
}

.frogmi-ruteo-page p.frogmi-ruteo-cap__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4a4f55;
}

/* Not just stores */
.frogmi-ruteo-sectors {
  padding: 30px 0 90px;
}

.frogmi-ruteo-sectors__box {
  padding: 48px 40px 52px;
  border-radius: 24px;
  background: rgba(10, 14, 20, 0.85);
  border: 1px solid rgba(17, 109, 178, 0.35);
  box-shadow: 0 0 40px rgba(17, 109, 178, 0.18);
  text-align: center;
}

.frogmi-ruteo-sectors__intro {
  margin: 0 auto 40px;
  max-width: 860px;
}

.frogmi-ruteo-sectors__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.frogmi-ruteo-sectors__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.frogmi-ruteo-sectors__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.frogmi-ruteo-sectors__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--ruteo-accent);
  background: #0a0e14;
}

.frogmi-ruteo-sectors__label {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .frogmi-ruteo-hero__title {
    font-size: 34px;
  }

  .frogmi-ruteo-section-title {
    font-size: 27px;
  }

  .frogmi-ruteo-hero__grid,
  .frogmi-ruteo-blind__grid,
  .frogmi-ruteo-paths__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .frogmi-ruteo-steps__grid,
  .frogmi-ruteo-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .frogmi-ruteo-hero {
    padding-bottom: 60px;
  }

  .frogmi-ruteo-hero__title {
    font-size: 29px;
  }

  .frogmi-ruteo-section-title {
    font-size: 24px;
  }

  .frogmi-ruteo-flow {
    padding: 16px;
  }

  .frogmi-ruteo-flow__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .frogmi-ruteo-flow__node::after {
    left: 50%;
    top: 100%;
    width: 0;
    height: 24px;
    border-top: none;
    border-left: 1px dashed rgba(81, 186, 92, 0.7);
  }

  .frogmi-ruteo-flow__targets {
    margin-top: 24px;
  }

  .frogmi-ruteo-steps__grid,
  .frogmi-ruteo-more__grid,
  .frogmi-ruteo-paths__cases {
    grid-template-columns: 1fr;
  }

  .frogmi-ruteo-paths__top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }

  .frogmi-ruteo-paths__link {
    width: 0;
    height: 30px;
    border-top: none;
    border-left: 1px dashed rgba(81, 186, 92, 0.7);
  }

  .frogmi-ruteo-paths__cases {
    margin-top: 24px;
  }

  .frogmi-ruteo-paths__cases::before {
    display: none;
  }

  .frogmi-ruteo-sectors__box {
    padding: 36px 20px 40px;
  }

  .frogmi-ruteo-sectors__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .frogmi-ruteo-sectors__list::before {
    display: none;
  }
}
