@import url("breakpoints.css");

:root {
  --green: #51ba5c;
  --green-dark: #3ea248;
  --brand-blue: #116db2;
  --title: #1b1b1a;
  --text: #1a1a1a;
  --muted: #666666;
  --footer: #f9fbfd;
  --line: #e8e8e8;
  --container: min(var(--container-max, 1180px), calc(100% - var(--container-gutter, 48px)));
  --landing-shadow: 0 12px 30px rgba(33, 68, 99, 0.1);
}

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

/*
 * Keep page-level clip (not hidden) so sticky feature stacks keep working.
 * overflow-x:hidden on html/body creates a scroll container and kills sticky.
 */
html,
body {
  overflow-x: clip;
}

.frogmi-landing {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  line-height: 1.4;
}

.frogmi-landing a {
  color: inherit;
  text-decoration: none;
}

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

.frogmi-landing .container {
  width: var(--container);
  margin: 0 auto;
}

.frogmi-landing h1 { font-size: 43px; }
.frogmi-landing h2 { font-size: 36px; }
.frogmi-landing h3 { font-size: 22px; font-weight: 600; }

.frogmi-landing h3.frogmi-footer__col-title,
.frogmi-footer h3.frogmi-footer__col-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  color: #1a1a1a;
}

.frogmi-section-title {
  text-align: center;
  color: var(--title);
  line-height: 1.1;
}

.frogmi-section-topline {
  margin: 0 0 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.frogmi-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.frogmi-btn:hover { transform: scale(1.04); }
.frogmi-btn:active { transform: scale(0.98); }

.frogmi-btn--primary {
  background: var(--green);
  color: #fff;
  padding: 14px 24px;
  box-shadow: 0 8px 18px rgba(81, 186, 92, 0.22);
}

.frogmi-btn--dark {
  background: #000;
  color: #fff;
  padding: 14px 28px;
}

.frogmi-btn__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Scroll reveal */
.frogmi-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  transition-delay: var(--frogmi-reveal-delay, 0s);
}

.frogmi-reveal--left { transform: translateX(-20px); }
.frogmi-reveal--right { transform: translateX(20px); }

.frogmi-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.frogmi-reveal-stagger > .frogmi-reveal:nth-child(1) { --frogmi-reveal-delay: 0.04s; }
.frogmi-reveal-stagger > .frogmi-reveal:nth-child(2) { --frogmi-reveal-delay: 0.08s; }
.frogmi-reveal-stagger > .frogmi-reveal:nth-child(3) { --frogmi-reveal-delay: 0.12s; }
.frogmi-reveal-stagger > .frogmi-reveal:nth-child(4) { --frogmi-reveal-delay: 0.16s; }
.frogmi-reveal-stagger > .frogmi-reveal:nth-child(5) { --frogmi-reveal-delay: 0.2s; }
.frogmi-reveal-stagger > .frogmi-reveal:nth-child(6) { --frogmi-reveal-delay: 0.24s; }
.frogmi-reveal-stagger > .frogmi-reveal:nth-child(n + 7) { --frogmi-reveal-delay: 0.28s; }

/*
 * Sticky feature / architecture stacks break if any ancestor keeps a transform
 * (even translate(0,0)). Keep reveal as opacity-only on those wrappers.
 */
[class*="-feature__stack"].frogmi-reveal,
[class*="-architecture__stack"].frogmi-reveal,
[class*="-feature__stack"],
[class*="-architecture__stack"] {
  transform: none !important;
  filter: none !important;
  perspective: none !important;
}

/* Also neutralize common ancestors that can trap sticky positioning. */
[class*="-features"] [class*="-feature__stack"],
[class*="-features"] {
  transform: none;
  filter: none;
  perspective: none;
}

[class*="-page-wrap"] {
  transform: none;
  filter: none;
  perspective: none;
  contain: none;
}

/* Image fade-in */
img.frogmi-img-fade {
  opacity: 0;
  transition: opacity 0.45s ease;
}

img.frogmi-img-fade.is-loaded {
  opacity: 1;
}

/* Avoid blank flash on mobile before IntersectionObserver fires */
@media (max-width: 768px) {
  .frogmi-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  img.frogmi-img-fade {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .frogmi-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  img.frogmi-img-fade {
    opacity: 1;
  }

  .frogmi-logos__track {
    animation: none !important;
  }

  .btn-mas-info:hover .btn-mas-info__icono svg {
    animation: none;
  }

  .frogmi-hero__banner-img,
  .frogmi-hero__banner-img--hover {
    transition: none;
  }

  .frogmi-hero__banner-elements {
    animation: none;
    opacity: 1;
  }

  .frogmi-intelligence__star-shape {
    animation: none !important;
    opacity: 0.9;
  }

  .frogmi-header,
  .frogmi-header__inner,
  .frogmi-header__panel,
  .frogmi-header__overlay,
  .frogmi-header__toggle-line,
  .frogmi-header__menu > a,
  .frogmi-header__dropdown,
  .frogmi-header__cta,
  .frogmi-header__dropdown-menu,
  .frogmi-header__dropdown-icon,
  .frogmi-modal,
  .frogmi-modal__backdrop,
  .frogmi-modal__panel,
  img.frogmi-img-fade {
    transition: none;
  }

  img.frogmi-img-fade {
    opacity: 1;
  }

  .frogmi-header__menu > a,
  .frogmi-header__dropdown,
  .frogmi-header__cta {
    opacity: 1;
    transform: none;
  }

  .frogmi-header__dropdown-menu {
    transition: none;
  }
}

/* Header */
.frogmi-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: none;
  --frogmi-header-bg: rgba(255, 255, 255, 0.95);
  --frogmi-header-blur: blur(10px);
  --frogmi-header-shadow: 0 3px 6px rgba(0, 0, 0, 0.04);
}

/*
 * The frosted-glass background lives on a pseudo-element instead of
 * directly on .frogmi-header. backdrop-filter (like transform/filter)
 * creates a new containing block for fixed-position descendants, which
 * broke the mobile nav panel's position:fixed (it rendered relative to
 * the header instead of the viewport, causing it to appear off-screen).
 *
 * Its appearance is driven by the custom properties above so pages with a
 * dark hero can keep overriding the header on .frogmi-header itself.
 */
.frogmi-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: var(--frogmi-header-blur);
  background: var(--frogmi-header-bg);
  box-shadow: var(--frogmi-header-shadow);
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.frogmi-header.is-scrolled {
  --frogmi-header-bg: rgba(255, 255, 255, 0.98);
  --frogmi-header-blur: blur(14px);
  --frogmi-header-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.frogmi-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  width: var(--container);
  margin-inline: auto;
  transition: min-height 0.35s ease, padding 0.35s ease;
}

.frogmi-header.is-scrolled .frogmi-header__inner {
  min-height: 68px;
}

.frogmi-header__logo {
  flex: 0 0 auto;
}

.frogmi-header__logo img {
  width: 168px;
  height: auto;
}

.frogmi-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.frogmi-header__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: #333;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}

.frogmi-header.is-menu-open .frogmi-header__toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.frogmi-header.is-menu-open .frogmi-header__toggle-line:nth-child(2) {
  opacity: 0;
  width: 0;
}

.frogmi-header.is-menu-open .frogmi-header__toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.frogmi-header__nav-row {
  display: contents;
}

.frogmi-header__panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
}

.frogmi-header__cta {
  flex-shrink: 0;
}

.frogmi-header__tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 0;
}

@media (min-width: 1025px) {
  .frogmi-header__inner {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .frogmi-header__nav-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    gap: 12px;
  }

  .frogmi-header__panel {
    flex: 0 1 auto;
    flex-wrap: nowrap;
  }

  .frogmi-header__menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .frogmi-header__tools {
    flex: 0 0 auto;
    margin-left: 0;
  }
}

.frogmi-header__lang.frogmi-header__dropdown {
  position: relative;
}

.frogmi-header__lang-trigger {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-height: 44px;
  margin-left: 20px;
  padding: 8px 12px;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.frogmi-header__lang-trigger:hover,
.frogmi-header__lang-trigger:focus {
  border-color: #c8e6cb;
  color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(81, 186, 92, 0.12);
}

.frogmi-header__lang-flag {
  display: block;
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.frogmi-header__lang-code {
  line-height: 1;
}

.frogmi-header__lang .frogmi-header__dropdown-menu {
  left: auto;
  right: 0;
  transform: none;
  min-width: 132px;
  padding: 8px 0;
}

.frogmi-header__lang-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 10px 16px;
  color: #333;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.frogmi-header__lang-option:hover,
.frogmi-header__lang-option:focus {
  color: var(--green-dark);
  background: #f5fbf6;
}

.frogmi-header__lang-option.is-active {
  color: var(--green);
  background: #f0faf2;
}

.frogmi-header__panel-close {
  display: none;
}

.frogmi-header__overlay {
  display: none;
}

.frogmi-header__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
  color: #333;
  font-size: 0.95rem;
}

.frogmi-header__menu > a:hover,
.frogmi-header__dropdown-trigger:hover {
  color: var(--green-dark);
}

.frogmi-header__menu > a.is-active,
.frogmi-header__dropdown-trigger.is-active {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* El color propio de cada solución se reserva para la página activa */
.frogmi-header__dropdown-menu a.is-active,
.frogmi-header__dropdown-menu a.is-active:hover,
.frogmi-header__dropdown-menu a.is-active:focus {
  color: var(--frogmi-child-accent, var(--green));
  background: var(--frogmi-child-accent-bg, #f0faf2);
  font-weight: 600;
}

.frogmi-header__dropdown {
  position: relative;
}

.frogmi-header__dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 16px;
}

.frogmi-header__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.frogmi-header__dropdown-icon {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.frogmi-header__dropdown.is-open .frogmi-header__dropdown-icon,
.frogmi-header__dropdown:focus-within .frogmi-header__dropdown-icon {
  transform: rotate(225deg) translateY(1px);
}

.frogmi-header__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(33, 68, 99, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.frogmi-header__dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.frogmi-header__dropdown.is-open .frogmi-header__dropdown-menu,
.frogmi-header__dropdown:focus-within .frogmi-header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.frogmi-header__dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #333;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.frogmi-header__dropdown-menu .frogmi-header__lang-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 10px 16px;
  white-space: nowrap;
}

.frogmi-header__dropdown-menu a:hover,
.frogmi-header__dropdown-menu a:focus {
  color: var(--green-dark);
  background: #f5fbf6;
}

.frogmi-header__dropdown-menu--mega {
  left: 0;
  width: max-content;
  max-width: calc(100vw - 40px);
  padding: 24px;
  grid-template-columns: repeat(3, max-content);
  gap: 28px;
  transform: none;
}

.frogmi-header__dropdown.is-open .frogmi-header__dropdown-menu--mega,
.frogmi-header__dropdown:focus-within .frogmi-header__dropdown-menu--mega {
  display: grid;
}

.frogmi-header__mega-group,
.frogmi-header__mega-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frogmi-header__mega-title {
  display: block;
  margin-bottom: 10px;
  color: #111;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.frogmi-header__dropdown-menu--mega a {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: max-content;
  max-width: 100%;
  padding: 7px 0;
  font-size: 0.92rem;
  line-height: 1.25;
  white-space: nowrap;
}

.frogmi-header__dropdown-menu--mega a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px -10px;
  border-radius: 9px;
  background: #f0faf2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.frogmi-header__dropdown-menu--mega a:hover,
.frogmi-header__dropdown-menu--mega a:focus {
  padding-left: 0;
  color: var(--green);
  background: transparent;
  text-decoration: none;
}

.frogmi-header__dropdown-menu--mega a:hover::before,
.frogmi-header__dropdown-menu--mega a:focus::before {
  opacity: 1;
}

.frogmi-header__dropdown-menu--mega a.is-active {
  color: var(--frogmi-child-accent, var(--green));
  background: transparent;
}

.frogmi-header__dropdown-menu--mega a.is-active::before {
  background: var(--frogmi-child-accent-bg, #f0faf2);
  opacity: 1;
}

.frogmi-landing a.btn-contacto,
.frogmi-landing a.btn-mas-info {
  color: #ffffff;
}

.btn-contacto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  background-color: #51ba5c;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 0 12px rgba(81, 186, 92, 0.28),
    0 0 24px rgba(81, 186, 92, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  cursor: pointer;
  font-family: inherit;
}

button.btn-contacto {
  color: #ffffff;
}

.btn-contacto:hover,
.btn-contacto:focus,
.btn-contacto:visited,
.btn-contacto:active {
  background-color: #49ad54;
  color: #ffffff;
}

.btn-contacto:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 16px rgba(81, 186, 92, 0.38),
    0 0 32px rgba(81, 186, 92, 0.24);
}

.btn-contacto:active {
  transform: translateY(0) scale(0.98);
}

/* Stacked feature cards — shared "Agendar demo" CTA */
.frogmi-feature-demo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-height: 46px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background-color: var(--frogmi-solution-accent, #51ba5c);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--frogmi-solution-accent, #51ba5c) 28%, transparent);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.frogmi-landing a.frogmi-feature-demo-cta {
  color: #ffffff;
}

.frogmi-feature-demo-cta:hover,
.frogmi-feature-demo-cta:focus,
.frogmi-feature-demo-cta:visited,
.frogmi-feature-demo-cta:active {
  color: #ffffff;
  filter: brightness(0.94);
}

.frogmi-feature-demo-cta:hover {
  transform: translateY(-2px);
}

.frogmi-storebeat-page-wrap {
  --frogmi-solution-accent: var(--sb-accent, #e2314f);
}

.frogmi-taskmanagement-page-wrap {
  --frogmi-solution-accent: var(--tsm-accent, #4326c5);
}

.frogmi-hd-page-wrap {
  --frogmi-solution-accent: var(--hd-accent, #38b9b0);
}

.frogmi-ejecprod-page-wrap {
  --frogmi-solution-accent: var(--ep-accent, #ba52b2);
}

.frogmi-gestordocumental-page-wrap {
  --frogmi-solution-accent: var(--gd-accent, #fbca04);
}

.frogmi-gestordocumental-page-wrap .frogmi-feature-demo-cta,
.frogmi-landing.frogmi-gestordocumental-page-wrap a.frogmi-feature-demo-cta {
  color: #1a1a1a;
}

.frogmi-gestordocumental-page-wrap .frogmi-feature-demo-cta:hover,
.frogmi-gestordocumental-page-wrap .frogmi-feature-demo-cta:focus,
.frogmi-gestordocumental-page-wrap .frogmi-feature-demo-cta:visited,
.frogmi-gestordocumental-page-wrap .frogmi-feature-demo-cta:active {
  color: #1a1a1a;
}

.frogmi-cc-page-wrap {
  --frogmi-solution-accent: var(--cc-accent, #0054a3);
}

.frogmi-colaboracion-page-wrap {
  --frogmi-solution-accent: var(--co-accent, #f9862d);
}

.frogmi-av-page-wrap {
  --frogmi-solution-accent: var(--av-accent, #51ba5c);
}

.frogmi-aia-page-wrap {
  --frogmi-solution-accent: var(--aia-accent, #51ba5c);
}

.frogmi-ria-page-wrap {
  --frogmi-solution-accent: #51ba5c;
}

@media (max-width: 768px) {
  .frogmi-feature-demo-cta {
    width: 100%;
    margin-top: 22px;
  }
}

/* Hero */
.frogmi-hero {
  overflow: hidden;
  padding: 100px 0 90px;
  background-color: #ffffff;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.home .frogmi-hero__title {
  font-size: 43px !important;
}

.frogmi-hero__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
  text-align: left;
}

.frogmi-hero__content {
  min-width: 0;
}

.frogmi-hero__topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #222222;
  margin-bottom: 20px;
  font-size: 15px;
}

.frogmi-hero__topline-text {
  font-weight: 600;
  color: #222222;
}

.frogmi-hero__topline-icon {
  width: 15px;
  height: 17.5px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.frogmi-hero__title {
  font-size: 36px;
  line-height: 1.15;
  max-width: 100%;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  color: var(--title);
}

.frogmi-hero__highlight { color: var(--green); }

.frogmi-hero__text {
  max-width: 100%;
  margin: 0;
  color: #000000;
  font-size: 18px;
}

.frogmi-hero__text + .frogmi-hero__text {
  margin-top: 14px;
}

.frogmi-hero__text--strong {
  font-weight: 700;
  color: #000000;
}

.frogmi-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 28px 0 40px;
}

.btn-mas-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: auto;
  padding: 14px 28px;
  background: #000000;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease;
}

.btn-mas-info--verde {
  background: var(--green);
}

.btn-mas-info--negro {
  background: #000000;
}

.btn-mas-info--verde .btn-mas-info__icono svg {
  stroke: var(--green);
}

.btn-mas-info__texto {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
}

.btn-mas-info__icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 50%;
  overflow: hidden;
}

.btn-mas-info__icono svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #000000;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-mas-info:hover,
.btn-mas-info:focus,
.btn-mas-info:visited,
.btn-mas-info:active {
  color: #ffffff;
}

.btn-mas-info:hover .btn-mas-info__texto,
.btn-mas-info:focus .btn-mas-info__texto,
.btn-mas-info:visited .btn-mas-info__texto,
.btn-mas-info:active .btn-mas-info__texto {
  color: #ffffff;
}

.btn-mas-info:hover {
  transform: translateY(-2px);
}

.btn-mas-info--verde:hover {
  background-color: #49ad54;
  box-shadow:
    0 0 16px rgba(81, 186, 92, 0.38),
    0 0 32px rgba(81, 186, 92, 0.24);
}

.btn-mas-info--negro:hover {
  opacity: 0.95;
}

.btn-mas-info:active {
  transform: translateY(0) scale(0.98);
}

.btn-mas-info:hover .btn-mas-info__icono svg {
  animation: flecha-horizontal 2.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes flecha-horizontal {
  0%,
  100% {
    transform: translateX(-2px);
  }

  50% {
    transform: translateX(3px);
  }
}

.frogmi-hero__banner {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1474 / 975;
  margin: 0;
  border-radius: 0;
  overflow: visible;
  line-height: 0;
  transform: scale(1.1) translateY(-3%);
}

/*
 * Every solution hero splits the row in half: copy on one side, artwork on
 * the other. The banner fills its half instead of being scaled up, so the
 * artwork never bleeds over the text column.
 */
@media (min-width: 1025px) {
  .frogmi-storebeat-page-wrap .frogmi-storebeat-hero__grid,
  .frogmi-gestordocumental-page-wrap .frogmi-gestordocumental-hero__grid,
  .frogmi-colaboracion-page-wrap .frogmi-colaboracion-hero__grid,
  .frogmi-taskmanagement-page-wrap .frogmi-taskmanagement-hero__grid,
  .frogmi-ejecprod-page-wrap .frogmi-ejecprod-hero__grid,
  .frogmi-cc-page-wrap .frogmi-cc-hero__grid,
  .frogmi-av-page-wrap .frogmi-av-hero__grid,
  .frogmi-aia-page-wrap .frogmi-aia-hero__grid,
  .frogmi-hd-page-wrap .frogmi-hd-hero__grid,
  .frogmi-ria-page-wrap .frogmi-ria-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frogmi-storebeat-page-wrap .frogmi-storebeat-hero__banner,
  .frogmi-gestordocumental-page-wrap .frogmi-gestordocumental-hero__banner,
  .frogmi-colaboracion-page-wrap .frogmi-colaboracion-hero__banner,
  .frogmi-taskmanagement-page-wrap .frogmi-taskmanagement-hero__banner,
  .frogmi-ejecprod-page-wrap .frogmi-ejecprod-hero__banner,
  .frogmi-cc-page-wrap .frogmi-cc-hero__banner,
  .frogmi-av-page-wrap .frogmi-av-hero__banner,
  .frogmi-aia-page-wrap .frogmi-aia-hero__banner,
  .frogmi-hd-page-wrap .frogmi-hd-hero__banner,
  .frogmi-ria-page-wrap .frogmi-ria-hero__banner {
    max-width: 100%;
  }
}

/*
 * The new layered product artwork is a standalone composition. Keep the
 * following content panel in normal flow instead of pulling it up against
 * the bottom edge of the hero image. Product Execution is excluded because
 * its panel follows the problem section, where the overlap is intentional.
 */
.frogmi-storebeat-page-wrap .frogmi-storebeat-transform__shell,
.frogmi-gestordocumental-page-wrap .frogmi-gestordocumental-transform__shell,
.frogmi-colaboracion-page-wrap .frogmi-colaboracion-transform__shell,
.frogmi-taskmanagement-page-wrap .frogmi-taskmanagement-transform__shell,
.frogmi-cc-page-wrap .frogmi-cc-transform__shell,
.frogmi-av-page-wrap .frogmi-av-transform__shell {
  margin-top: 0;
}

.frogmi-hero__banner-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

/*
 * The hero artwork ships as two layers that share the 1474x975 design canvas:
 * the photo and the floating UI elements. The percentages below place each
 * layer where it sat in the original flattened export.
 */
.frogmi-hero__banner-img--photo {
  inset: auto;
  top: -12.897%;
  left: 6.309%;
  width: 100%;
  height: 100%;
}

.frogmi-hero__banner-elements {
  position: absolute;
  top: -12.513%;
  left: 9.475%;
  width: 99.797%;
  height: 88.821%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation:
    frogmi-hero-elements-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s both,
    frogmi-hero-elements-float 6s ease-in-out 1.8s infinite;
}

@keyframes frogmi-hero-elements-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes frogmi-hero-elements-float {
  0%,
  100% {
    transform: translateY(0);
  }

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

/* Logos carousel */
.frogmi-logos {
  padding: 8px 0 32px;
  background: #fff;
  overflow-x: clip;
}

.frogmi-logos .frogmi-section-title {
  margin-top: 0;
  margin-bottom: 44px;
}

.frogmi-logos__mask {
  position: relative;
  display: grid;
  gap: 12px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.frogmi-logos__mask::before,
.frogmi-logos__mask::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.frogmi-logos__mask::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.frogmi-logos__mask::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.frogmi-logos__track {
  display: flex;
  gap: 14px;
  width: max-content;
  flex-shrink: 0;
  animation: frogmi-scroll 38s linear infinite;
}

.frogmi-logos__track--reverse {
  animation: frogmi-scroll 42s linear infinite reverse;
}

.frogmi-logos__track.is-js-marquee {
  animation: none;
}

@keyframes frogmi-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.frogmi-logos__slide {
  flex: 0 0 220px;
  min-height: 110px;
  flex-shrink: 0;
  border: 1px solid #f0eeee;
  border-radius: 18px;
  background: #fcfbfA;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
}

.frogmi-logos__slide img {
  width: 100%;
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}

/* Ecosystem */
.frogmi-ecosystem {
  padding: 80px 0 72px;
  background: #fff;
  scroll-margin-top: 100px;
}

.frogmi-ecosystem__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.frogmi-ecosystem__media {
  flex: 0 1 46%;
  max-width: 622px;
}

.frogmi-ecosystem__image,
.frogmi-ecosystem-wheel {
  display: block;
  width: 100%;
  height: auto;
}

/* The wheel almost fills its viewBox, so the active segment needs to paint
   outside it while it slides outwards. */
.frogmi-ecosystem-wheel {
  overflow: visible;
}

/* Stray hairlines left over by the Illustrator export, hidden until now by
   the clip paths that had to be removed. */
.frogmi-ecosystem-wheel line {
  display: none;
}

.frogmi-ecosystem-diagram {
  position: relative;
}

.frogmi-ecosystem-diagram img,
.frogmi-ecosystem-diagram .frogmi-ecosystem-wheel {
  max-width: 84%;
  margin: auto;
}

.frogmi-ecosystem-wheel .frogmi-wheel__slice,
.frogmi-ecosystem-wheel .frogmi-wheel__label {
  transition: transform 0.26s ease;
}

.frogmi-ecosystem-wheel .is-clickable {
  cursor: pointer;
}

.frogmi-ecosystem-wheel .frogmi-wheel__label.is-clickable:focus {
  outline: none;
}

.frogmi-ecosystem-wheel .frogmi-wheel__label.is-clickable:focus-visible {
  filter: drop-shadow(0 0 5px rgba(0, 84, 163, 0.55));
}

.frogmi-ecosystem-wheel .frogmi-wheel__slice.is-active,
.frogmi-ecosystem-wheel .frogmi-wheel__label.is-active {
  transform: translate(var(--wheel-dx, 0), var(--wheel-dy, 0));
}

.frogmi-ecosystem-wheel .frogmi-wheel__slice.is-active path {
  filter: brightness(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .frogmi-ecosystem-wheel .frogmi-wheel__slice,
  .frogmi-ecosystem-wheel .frogmi-wheel__label {
    transition: none;
  }
}

.frogmi-ecosystem__content {
  flex: 1 1 54%;
  max-width: 560px;
  text-align: left;
}

.frogmi-ecosystem__topline {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.frogmi-ecosystem__title {
  margin: 0 0 22px;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--title);
}

.frogmi-ecosystem__text {
  margin: 0;
  color: #000000;
  font-size: 18px;
  line-height: 1.6;
}

.frogmi-ecosystem__text + .frogmi-ecosystem__text {
  margin-top: 16px;
}

.frogmi-ecosystem__cta {
  margin-top: 28px;
}

/* Intelligence */
.frogmi-intelligence {
  padding: 0;
  background: #fff;
}

.frogmi-intelligence__box {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 72px 56px;
  border-radius: 28px;
  background: #000000;
  color: #ffffff;
}

.frogmi-intelligence__content {
  flex: 1 1 52%;
  min-width: 0;
}

.frogmi-intelligence__topline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.frogmi-intelligence__topline-stars {
  display: block;
  flex: 0 0 auto;
  width: 15px;
  height: auto;
}

.frogmi-intelligence__title {
  margin: 0 0 18px;
  max-width: 560px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 600;
  color: #ffffff;
}

.frogmi-intelligence__text {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.frogmi-intelligence__media {
  flex: 1 1 48%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frogmi-intelligence__visual {
  position: relative;
  isolation: isolate;
  width: 100%;
}

.frogmi-intelligence__image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
}

.frogmi-intelligence__stars {
  position: absolute;
  z-index: 3;
  display: block;
  width: clamp(38px, 9%, 58px);
  height: auto;
  overflow: visible;
  pointer-events: none;
}

.frogmi-intelligence__stars--1 {
  top: -9%;
  left: 5%;
}

.frogmi-intelligence__stars--2 {
  top: 46%;
  right: -2%;
}

.frogmi-intelligence__star-shape {
  --star-x: 0;
  --star-y: -3px;
  --star-rotate: 12deg;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0.82;
  animation: frogmi-intelligence-star-breathe 3.2s ease-in-out infinite;
  will-change: transform, opacity;
}

.frogmi-intelligence__star-shape--1 {
  --star-x: -2.5px;
  --star-y: -3.5px;
  --star-rotate: -14deg;
  animation-delay: -0.9s;
}

.frogmi-intelligence__star-shape--2 {
  --star-x: 3px;
  --star-y: -2px;
  --star-rotate: 18deg;
  animation-delay: -2.1s;
  animation-duration: 3.8s;
}

.frogmi-intelligence__star-shape--3 {
  --star-x: -3.5px;
  --star-y: 3px;
  --star-rotate: 10deg;
  animation-delay: -1.5s;
  animation-duration: 4.4s;
}

@keyframes frogmi-intelligence-star-breathe {
  0%,
  100% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.72);
  }

  50% {
    opacity: 1;
    transform:
      translate3d(var(--star-x), var(--star-y), 0)
      rotate(var(--star-rotate))
      scale(1.22);
  }
}

.frogmi-intelligence__box .btn-contacto {
  margin-top: 4px;
}

/* Explora */
.frogmi-explora {
  padding: 88px 0 96px;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.frogmi-explora__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.frogmi-explora__header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.frogmi-explora__topline {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.frogmi-explora__title {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--title);
}

.frogmi-explora__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

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

.frogmi-explora__card {
  padding: 36px 40px 40px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--landing-shadow);
}

.frogmi-explora__badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  background: none;
}

.frogmi-explora__badge--operacion {
  color: #51ba5e;
  background: #ddf2df;
}

.frogmi-explora__badge--comunicacion {
  color: #0054a3;
  background: #cadcec;
}

.frogmi-explora__badge--conocimiento {
  color: #015039;
  background: #d4e0dd;
}

.frogmi-explora__card-title {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  background: none;
}

.frogmi-explora__card-title--operacion {
  color: #51ba5e;
}

.frogmi-explora__card-title--comunicacion {
  color: #0054a3;
}

.frogmi-explora__card-title--conocimiento {
  color: #015039;
}

.frogmi-explora__card-text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.frogmi-explora__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.frogmi-explora__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}

.frogmi-explora__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.frogmi-explora__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.frogmi-explora__link:hover,
.frogmi-explora__link:focus {
  color: #51ba5c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Knowledge base */
.frogmi-knowledge {
  margin-top: 50px;
  padding: 0 0 96px;
  background: #fff;
}

.frogmi-knowledge__banner {
  min-height: 460px;
  border-radius: 36px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.frogmi-knowledge__inner {
  min-height: 460px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 40px;
}

.frogmi-knowledge__card {
  background: #fff;
  border-radius: 32px;
  padding: 44px;
  margin-right: 40px;
  max-width: 460px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.frogmi-knowledge__topline {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.frogmi-knowledge__title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--title);
}

.frogmi-knowledge__text {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
}

/* Why Frogmi */
.frogmi-why {
  padding: 88px 0 96px;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.frogmi-why__header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.frogmi-why__topline {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.frogmi-why__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--title);
}

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

.frogmi-why__card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid transparent;
  box-shadow: var(--landing-shadow);
  transition: border-color 0.3s ease;
}

.frogmi-why__card:hover {
  border-color: var(--green);
}

.frogmi-why__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ddf2df;
}

.frogmi-why__icon--image {
  width: 179px;
  height: 133px;
  border-radius: 0;
  background: none;
  object-fit: contain;
}

.frogmi-why__copy {
  min-width: 0;
}

.frogmi-why__card-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--title);
}

.frogmi-why__card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #666666;
}

.frogmi-why__inline-link {
  color: #51ba5c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.frogmi-why__inline-link:hover,
.frogmi-why__inline-link:focus {
  color: #3f9e49;
}

/* Usage */
.frogmi-usage {
  padding: 0;
}

.frogmi-usage__banner {
  width: 100%;
  margin-bottom: 0;
  min-height: 460px;
  background-size: cover;
  background-position: center;
}

.frogmi-usage__banner-inner {
  min-height: 460px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.frogmi-usage__card {
  background: #fff;
  border-radius: 32px;
  padding: 42px;
  margin-right: 34px;
  max-width: 460px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.frogmi-usage__card-title {
  line-height: 1.08;
  margin-bottom: 16px;
}

.frogmi-usage__card p { color: #666; font-size: 16px; }

.frogmi-usage__features {
  margin-top: -36px;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  padding: 84px 0 64px;
}

.frogmi-usage__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.frogmi-usage__feature {
  background: #fdfdfd;
  border: none;
  border-radius: 30px;
  padding: 26px;
  min-height: 350px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

.frogmi-usage__feature-image {
  margin-bottom: 22px;
  border-radius: 20px;
  overflow: hidden;
}

.frogmi-usage__feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.frogmi-usage__feature h3 {
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--title);
  font-size: 22px;
  font-weight: 500;
}

.frogmi-usage__feature p { color: #666; font-size: 16px; }

/* Blog + contact shared background */
.seccion-blog {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
  background:
    radial-gradient(
      ellipse 55% 45% at 100% 40%,
      #f4f8fc 0%,
      rgba(244, 248, 252, 0.72) 35%,
      rgba(244, 248, 252, 0) 75%
    ),
    radial-gradient(
      ellipse 50% 55% at 0% 68%,
      #f4f8fc 0%,
      rgba(244, 248, 252, 0.72) 32%,
      rgba(244, 248, 252, 0) 76%
    ),
    #fff;
}

/* Blog */
.frogmi-blog {
  background: transparent;
  padding: 42px 0 72px;
}

.frogmi-blog .frogmi-section-title { margin-bottom: 35px; }

.frogmi-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
  overflow: visible;
}

.frogmi-blog__card {
  position: relative;
  aspect-ratio: 565 / 613;
  min-width: 0;
  margin-bottom: 14px;
  overflow: visible;
}

.frogmi-blog__card[hidden] { display: none; }

.frogmi-blog__shape-shadow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 3px 10px rgba(8, 47, 103, 0.07));
  transform: translateZ(0);
}

.frogmi-blog__shape-shadow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.frogmi-blog__shape {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  filter: none;
}

.frogmi-blog__card-main {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
}

.frogmi-blog__image-wrap {
  overflow: hidden;
  height: 48.45%;
  border-radius: 24px 24px 0 0;
}

.frogmi-blog__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
  transition: transform 0.45s ease;
}

.frogmi-blog__card:hover .frogmi-blog__image {
  transform: scale(1.06);
}

.frogmi-blog__image-link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.frogmi-blog__content {
  position: relative;
  z-index: 2;
  padding: 7.8% 7.8% 5.2%;
  max-width: 88%;
}

.frogmi-blog__tag,
.frogmi-blog a.frogmi-blog__tag,
.frogmi-landing a.frogmi-blog__tag {
  color: var(--green, #51ba5c) !important;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px !important;
  text-transform: uppercase;
  display: block;
}

a.frogmi-blog__tag:hover,
.frogmi-landing a.frogmi-blog__tag:hover {
  color: var(--green-dark, #3f9e49) !important;
}

.frogmi-blog__post-title {
  line-height: 1.15;
  color: var(--title);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.frogmi-blog__date {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 400;
  color: #9b9b9b;
}

.frogmi-blog__excerpt {
  margin: 0;
  max-width: 82%;
  font-size: 16px;
  line-height: 1.45;
  color: #4d4d4d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.frogmi-blog__arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 21.95%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 19px;
  background: #fff;
  color: #51ba5c;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(8, 47, 103, 0.07);
}

.frogmi-blog__arrow:hover .frogmi-blog__arrow-icon {
  animation: frogmi-blog-arrow-drift 1.1s ease-in-out infinite;
}

@keyframes frogmi-blog-arrow-drift {
  0%,
  100% {
    transform: translate(5px, -5px);
  }

  50% {
    transform: translate(-5px, 5px);
  }
}

.frogmi-blog__arrow-icon {
  width: 36%;
  height: 36%;
  color: #51ba5c;
}

.frogmi-blog__arrow-icon path {
  stroke: #51ba5c;
}

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

/* Contact */
.frogmi-contact {
  background: transparent;
  padding-bottom: 70px;
}

.frogmi-contact__box {
  background-color: #51ba5c;
  background-image: url("../../img/fondo-contact-box.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 34px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

/* El bloque va sobre un fondo oscuro en todas las páginas que lo reutilizan */
.frogmi-contact__box,
.frogmi-contact__box p,
.frogmi-contact__box h1,
.frogmi-contact__box h2,
.frogmi-contact__box h3,
.frogmi-contact__box h4,
.frogmi-contact__box span,
.frogmi-contact__box li,
.frogmi-contact__box strong,
.frogmi-contact__box em,
.frogmi-contact__box a:not(.frogmi-contact__cta) {
  color: #ffffff !important;
}

.frogmi-contact__topline {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frogmi-contact__copy h2 {
  line-height: 1.4;
  margin: 0;
}

.frogmi-contact__action {
  display: grid;
  gap: 22px;
}

.frogmi-contact__action p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.frogmi-contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  background: #1b1b1a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

/* Footer */
.frogmi-footer {
  background: var(--footer);
  padding: 56px 0 18px;
  /* Reset text color: footer sits inside dark product page wraps (RIA/AIA). */
  color: #222222;
}

.frogmi-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.frogmi-footer__brand img {
  width: 168px;
  height: auto;
  display: block;
}

.frogmi-footer__social img {
  width: 37px;
  height: 37px;
  display: block;
  object-fit: contain;
}

.frogmi-footer__social {
  display: inline-flex;
  margin-top: 22px;
}

.frogmi-footer__col-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.frogmi-footer__col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.frogmi-footer__col ul a {
  color: #222222;
  font-size: 14px;
  text-decoration: none;
}

.frogmi-footer__col ul a:hover {
  color: var(--green);
}

.frogmi-footer__col--certs {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.frogmi-footer__iso {
  width: 120px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.frogmi-footer__sgsi-links {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.frogmi-footer__sgsi-link {
  border: 0;
  background: none;
  padding: 0;
  color: #222222;
  font: inherit;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.frogmi-footer__sgsi-link:hover {
  color: var(--green);
}

.frogmi-footer__partner-logos {
  width: min(100%, 300px);
  height: auto;
  object-fit: contain;
  display: block;
}

.frogmi-modal[hidden] {
  display: none !important;
}

.frogmi-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.frogmi-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.frogmi-modal.is-open .frogmi-modal__backdrop {
  opacity: 1;
}

.frogmi-modal__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 680px);
  max-height: min(82vh, 760px);
  margin: 8vh auto 0;
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.frogmi-modal.is-open .frogmi-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.frogmi-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: none;
  color: #666;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.frogmi-modal__title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
  color: var(--title);
}

.frogmi-modal__body {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.frogmi-modal__subtitle {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--title);
  font-weight: 600;
}

.frogmi-modal__body p {
  margin: 0 0 18px;
}

.frogmi-modal__body p:last-child {
  margin-bottom: 0;
}

.frogmi-modal__body ul {
  margin: 0;
  padding-left: 20px;
}

.frogmi-modal__body li + li {
  margin-top: 8px;
}

body.frogmi-modal-open,
body.frogmi-menu-open {
  overflow: hidden;
  padding-right: var(--frogmi-scrollbar-width, 0px);
}

.frogmi-footer__bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #d8d8d8;
  color: #757575;
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .frogmi-header__toggle {
    display: inline-flex;
  }

  .frogmi-header__inner {
    position: relative;
    z-index: 62;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.98);
    gap: 0;
  }

  .frogmi-header.is-menu-open .frogmi-header__inner {
    background: #fff;
  }

  .frogmi-header__tools {
    margin-left: auto;
    position: relative;
    z-index: 63;
  }

  .frogmi-header__cta {
    display: inline-flex;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateX(18px);
    transition:
      opacity 0.3s ease,
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.3s;
  }

  .frogmi-header.is-menu-open .frogmi-header__cta {
    opacity: 1;
    transform: translateX(0);
  }

  .frogmi-header.is-menu-open .frogmi-header__toggle {
    display: none;
  }

  .frogmi-header__panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 61;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(340px, 88vw);
    height: 100dvh;
    padding: 88px 24px 32px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -10px 0 36px rgba(33, 68, 99, 0.14);
    visibility: hidden;
  }

  .frogmi-header.is-menu-open .frogmi-header__panel {
    transform: translateX(0);
    visibility: visible;
    z-index: 65;
  }

  .frogmi-header.is-menu-open .frogmi-header__tools {
    z-index: 1;
  }

  .frogmi-header.is-menu-open .frogmi-header__lang {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .frogmi-header__panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .frogmi-header__panel-close:hover {
    background: #e8eaee;
  }

  .frogmi-header__panel-close:active {
    transform: scale(0.96);
  }

  .frogmi-header__menu > a,
  .frogmi-header__panel .frogmi-header__dropdown {
    opacity: 0;
    transform: translateX(18px);
    transition:
      opacity 0.3s ease,
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--frogmi-menu-delay, 0s);
  }

  .frogmi-header.is-menu-open .frogmi-header__menu > a,
  .frogmi-header.is-menu-open .frogmi-header__panel .frogmi-header__dropdown {
    opacity: 1;
    transform: translateX(0);
  }

  .frogmi-header__menu > a:nth-child(1),
  .frogmi-header__menu > .frogmi-header__dropdown:nth-child(1) { --frogmi-menu-delay: 0.06s; }
  .frogmi-header__menu > a:nth-child(2),
  .frogmi-header__menu > .frogmi-header__dropdown:nth-child(2) { --frogmi-menu-delay: 0.1s; }
  .frogmi-header__menu > a:nth-child(3),
  .frogmi-header__menu > .frogmi-header__dropdown:nth-child(3) { --frogmi-menu-delay: 0.14s; }
  .frogmi-header__menu > a:nth-child(4),
  .frogmi-header__menu > .frogmi-header__dropdown:nth-child(4) { --frogmi-menu-delay: 0.18s; }
  .frogmi-header__menu > a:nth-child(5),
  .frogmi-header__menu > .frogmi-header__dropdown:nth-child(5) { --frogmi-menu-delay: 0.22s; }
  .frogmi-header__menu > a:nth-child(n + 6),
  .frogmi-header__menu > .frogmi-header__dropdown:nth-child(n + 6) { --frogmi-menu-delay: 0.26s; }

  .frogmi-header__lang-trigger {
    width: auto;
    min-height: 40px;
    padding: 6px 10px;
  }

  .frogmi-header__lang .frogmi-header__dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: auto;
    min-width: 132px;
    margin: 0;
    padding: 8px 0;
    border: 1px solid #ececec;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(33, 68, 99, 0.12);
    max-height: none;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .frogmi-header__lang.is-open .frogmi-header__dropdown-menu,
  .frogmi-header__lang:focus-within .frogmi-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .frogmi-header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    border: 0;
    padding: 0;
    background: rgba(17, 24, 39, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .frogmi-header.is-menu-open .frogmi-header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .frogmi-header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .frogmi-header__menu > a,
  .frogmi-header__menu > .frogmi-header__dropdown {
    width: 100%;
    border-bottom: 1px solid #efefef;
  }

  .frogmi-header__menu > a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
    font-weight: 600;
  }

  .frogmi-header__panel .frogmi-header__dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 1rem;
    font-weight: 600;
  }

  .frogmi-header__panel .frogmi-header__dropdown::after {
    display: none;
  }

  .frogmi-header__panel .frogmi-header__dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transition:
      max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease,
      padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .frogmi-header__panel .frogmi-header__dropdown.is-open .frogmi-header__dropdown-menu {
    max-height: 760px;
    opacity: 1;
    padding: 4px 0 10px;
    pointer-events: auto;
  }

  .frogmi-header__panel .frogmi-header__dropdown:focus-within .frogmi-header__dropdown-menu {
    max-height: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
  }

  .frogmi-header__panel .frogmi-header__dropdown.is-open:focus-within .frogmi-header__dropdown-menu {
    max-height: 760px;
    opacity: 1;
    padding: 4px 0 10px;
    pointer-events: auto;
  }

  .frogmi-header__panel .frogmi-header__dropdown.is-open .frogmi-header__dropdown-icon {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .frogmi-header__dropdown-menu a:not(.frogmi-header__lang-option) {
    width: auto;
    white-space: normal;
    padding: 10px 0 10px 12px;
  }

  .frogmi-header__panel .frogmi-header__dropdown-menu--mega,
  .frogmi-header__panel .frogmi-header__dropdown.is-open .frogmi-header__dropdown-menu--mega,
  .frogmi-header__panel .frogmi-header__dropdown.is-open:focus-within .frogmi-header__dropdown-menu--mega {
    display: block;
    width: 100%;
  }

  .frogmi-header__mega-group + .frogmi-header__mega-group {
    margin-top: 14px;
  }

  .frogmi-header__mega-title {
    margin: 8px 0 2px 12px;
    font-size: 0.8rem;
  }

  .frogmi-header__dropdown-menu--mega a:hover,
  .frogmi-header__dropdown-menu--mega a:focus {
    padding-left: 12px;
  }

  .frogmi-header__dropdown-menu .frogmi-header__lang-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 16px;
    white-space: nowrap;
  }

  .frogmi-footer__grid {
    grid-template-columns: 1fr;
  }

  .frogmi-footer__col-title,
  .frogmi-landing h3.frogmi-footer__col-title,
  .frogmi-footer h3.frogmi-footer__col-title {
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  .frogmi-footer__col ul a {
    font-size: 15px;
  }

  .frogmi-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .frogmi-hero__content {
    max-width: 768px;
    margin: 0 auto;
  }

  .frogmi-hero__title,
  .frogmi-hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .frogmi-hero__topline {
    align-items: flex-start;
  }

  .frogmi-hero__banner {
    max-width: 900px;
    margin: 0 auto;
  }

  .frogmi-ecosystem__inner {
    flex-direction: column;
    gap: 40px;
  }

  .frogmi-ecosystem__media,
  .frogmi-ecosystem__content {
    flex: 1 1 auto;
    max-width: 720px;
    margin: 0 auto;
  }

  .frogmi-intelligence__box {
    flex-direction: column;
    padding: 52px 28px;
    gap: 32px;
  }

  .frogmi-intelligence__content,
  .frogmi-intelligence__media {
    flex: 1 1 auto;
    max-width: 100%;
  }

  /* Mobile: show hover banner state by default (product pages that still use
     the legacy hover-swap banner only; pages migrated to the photo + floating
     elements layout use the "--photo" layer instead and must stay visible) */
  [class*="-page-wrap"] [class*="hero__banner"] [class*="hero__banner-img"]:not([class*="--hover"]):not([class*="--photo"]) {
    opacity: 0 !important;
  }

  [class*="-page-wrap"] [class*="hero__banner"] [class*="hero__banner-img--hover"] {
    opacity: 1 !important;
  }
}

@media (max-width: 768px) {
  .frogmi-landing .container {
    width: min(100% - var(--container-gutter-md, 32px), var(--container-max, 1180px));
  }

  .frogmi-hero__banner-img--photo {
    top: -6.897%;
    left: 0.309%;
  }

  .frogmi-hero__banner-elements {
    position: absolute;
    top: -4.513%;
    left: 4.475%;
    width: 100%;
    height: 100%;
  }

  .frogmi-ecosystem {
    padding: 20px 0 72px;
  }

  .frogmi-usage__grid { grid-template-columns: 1fr; }

  .frogmi-ecosystem__title,
  .frogmi-intelligence__title,
  .frogmi-explora__title {
    font-size: 28px;
  }

  .frogmi-explora__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .frogmi-explora {
    padding: 64px 0 72px;
    padding-bottom: 0 !important;
  }

  .frogmi-explora__card {
    padding: 32px 24px 32px;
  }

  .frogmi-intelligence__box {
    padding: 44px 22px;
  }

  .frogmi-usage__banner-inner { padding: 20px 0; }
  .frogmi-usage__card { margin: 0; }
  .frogmi-usage__feature { min-height: auto; }

  /* The banner image is set inline on the element, so the mobile art needs
     to win over that inline declaration. */
  .frogmi-knowledge__banner {
    background-image: url("https://frogmi.com/nuevo/wp-content/uploads/2026/08/1Grupo-50502.jpg") !important;
    background-position: center top;
    min-height: 900px;
  }

  .frogmi-knowledge__inner {
    min-height: 900px;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
  }

  .frogmi-knowledge__card {
    max-width: 100%;
    margin-right: 0;
    padding: 32px 24px;
  }

  .frogmi-why__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .frogmi-why__card {
    padding: 22px 20px;
  }

  .frogmi-blog__grid { grid-template-columns: 1fr; gap: 24px; }

  .frogmi-contact__box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}
