/* ——— Brand ——— */
:root {
  --sl-navy: #0b2b45; /* Azul logo */
  --sl-green: #0fa56b; /* Verde logo */
  --sl-orange: #ff6a00; /* Punto/acento */
  --sl-ink: #102a43; /* Texto */
  --sl-mute: #5b7083; /* Secundario */
  --sl-bg: #f7fbfd; /* Fondo claro */
  --sl-card: #ffffff; /* Tarjetas */
  --sl-br: 16px; /* Bordes */
  --sl-shadow: 0 10px 25px rgba(16, 42, 67, 0.08);
}

/* ——— Resets mínimos ——— */
.sl * {
  box-sizing: border-box;
}
.sl {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--sl-ink);
  line-height: 1.5;
}
.sl h1,
.sl h2,
.sl h3 {
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
.sl h1 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
}
.sl h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
}
.sl h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
.sl p {
  margin: 0.5rem 0 1rem;
}
.sl a {
  text-decoration: none;
}
.sl small {
  color: var(--sl-mute);
}
.sl .sl-kicker {
  display: inline-block;
  color: var(--sl-green);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Layout */
.sl-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.sl-grid {
  display: grid;
  gap: 20px;
}
.sl-3 {
  grid-template-columns: repeat(3, 1fr);
}
.sl-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .sl-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .sl-3 {
    grid-template-columns: 1fr;
  }
  .sl-4 {
    grid-template-columns: 1fr;
  }
}

/* Header base */
.sl-header {
  background: #fff;
  border-bottom: 1px solid #e9eef3;
}
.sl-header__container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.sl-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.sl-header__logo img.custom-logo {
  height: 48px;
  width: auto;
  display: block;
}
.sl-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}
.sl-nav {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.sl-nav li {
  position: relative;
}
.sl-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  min-width: 180px;
  z-index: 10;
}
.sl-nav .sub-menu li a {
  display: block;
  padding: 8px 16px;
  color: #0d1726;
  white-space: nowrap;
}
.sl-nav li:hover > .sub-menu,
.sl-nav li:focus-within > .sub-menu {
  display: block;
}
.sl-nav > li > a {
  display: inline-block;
  padding: 8px 0;
  font-weight: 600;
  color: #0d1726;
  text-decoration: none;
}
.sl-nav > li.current-menu-item > a,
.sl-nav > li > a:hover {
  color: #0b5fff;
}
@media (max-width: 768px) {
  .sl-header__container {
    padding: 12px 16px;
  }
  .sl-nav {
    gap: 18px;
  }
  .sl-header__logo img.custom-logo {
    height: 40px;
  }
}

/* Botones */
.sl-btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s;
  border: 2px solid transparent;
}
.sl-btn--primary {
  background: var(--sl-green);
  color: #fff;
}
.sl-btn--primary:hover {
  filter: brightness(0.95);
}
.sl-btn--ghost {
  border-color: var(--sl-navy);
  color: var(--sl-navy);
  background: #fff;
}
.sl-btn--ghost:hover {
  background: var(--sl-navy);
  color: #fff;
}

/* Tarjetas & básicos */
.sl-card {
  background: var(--sl-card);
  border-radius: var(--sl-br);
  padding: 22px;
  box-shadow: var(--sl-shadow);
}
.sl-bullets {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}
.sl-bullets li {
  margin: 0.3rem 0;
}

/* ——— HERO ——— */
.sl-hero {
  background: linear-gradient(180deg, #fff, var(--sl-bg));
  padding: 56px 0 24px;
}
.sl-hero__wrap {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 900px) {
  .sl-hero__wrap {
    grid-template-columns: 1fr;
  }
}
.sl-hero__copy p {
  max-width: 620px;
}
.sl-actions {
  display: flex;
  gap: 12px;
  margin: 14px 0 10px;
}
.sl-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sl-hero__card {
  background: var(--sl-card);
  border-radius: 20px;
  box-shadow: var(--sl-shadow);
  padding: 22px;
  width: min(420px, 100%);
}
.sl-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid #e9eef3;
  padding: 10px 0;
}
.sl-metric:last-child {
  border-bottom: 0;
}
.sl-metric strong {
  font-size: 1.6rem;
  color: var(--sl-navy);
}
.sl-trust {
  margin-top: 18px;
}
.sl-trust__wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.sl-logos {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sl-logos .ph {
  width: 100px;
  height: 28px;
  background: #e7eef4;
  border-radius: 6px;
}

/* ——— Secciones ——— */
.sl-pain {
  padding: 30px 0;
}
.sl-services {
  padding: 0px 0 0px;
}
.sl-process {
  background: #fff;
  padding: 48px 0;
}
.sl-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
@media (max-width: 900px) {
  .sl-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .sl-steps {
    grid-template-columns: 1fr;
  }
}
.sl-steps li {
  background: var(--sl-card);
  border-radius: var(--sl-br);
  padding: 18px;
  box-shadow: var(--sl-shadow);
}
.sl-steps span {
  display: inline-grid;
  place-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--sl-navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
}

.sl-card--service {
  border-top: 6px solid var(--sl-green);
}

.sl-case {
  padding: 56px 0;
}
.sl-case__wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 900px) {
  .sl-case__wrap {
    grid-template-columns: 1fr;
  }
}
.sl-case__shot {
  aspect-ratio: 16/9;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.sl-testis {
  background: var(--sl-bg);
  padding: 48px 0;
}
.sl-quote {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sl-shadow);
  padding: 22px;
}
.sl-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--sl-mute);
  font-style: normal;
}

.sl-pricing {
  padding: 30px 0;
}
.sl-price {
  background: var(--sl-card);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--sl-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sl-price--hot {
  border: 2px solid var(--sl-green);
  transform: translateY(-4px);
}
.sl-price__tag {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--sl-navy);
  margin: 0.2rem 0;
}
.sl-price ul {
  padding-left: 1rem;
  margin: 0.2rem 0 1rem;
}

.sl-lead {
  padding: 18px 0 56px;
}

.sl-lead.sl-container {
  padding: 50px 20px;
}
.sl-lead__box {
  background: linear-gradient(135deg, #e6f6f0, #f7fbfd);
  border: 1px solid #daece5;
  border-radius: 18px;
  padding: 26px;
}
.sl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.sl-form input {
  flex: 1 1 220px;
  padding: 0.9rem 1rem;
  border: 1px solid #cfe1ea;
  border-radius: 10px;
  outline: none;
}
.sl-form button {
  flex: 0 0 auto;
}

.sl-faq {
  padding: 32px 0 56px;
}
.sl-faq details {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sl-shadow);
  padding: 16px 18px;
  margin: 10px 0;
}
.sl-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--sl-navy);
}

.sl-cta {
  background: linear-gradient(180deg, var(--sl-navy), #061824);
  color: #fff;
  text-align: center;
  padding: 56px 0;
  margin-top: 50px;
}
.sl-cta__wrap {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.sl-cta a {
  text-decoration: none;
}
.sl-note {
  opacity: 0.85;
}

/* Utilidades */
.ph {
  background: #e7eef4;
}

/*Cabecera con imagen - Hero*/
.sl-hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sl-hero__image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--sl-shadow);
}

.sl-hero__card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sl-shadow);
  padding: 18px 22px;
  width: 240px;
}

.sl-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
}

.sl-hero__card {
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ——— TRUST / CLIENT LOGOS ——— */
.sl-trust {
  background: #fff;
  padding: 36px 0;
  border-top: 1px solid #edf2f5;
}

.sl-trust__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.sl-trust__label {
  font-weight: 600;
  color: var(--sl-mute);
  font-size: 0.95rem;
}

.sl-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sl-logos li {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.sl-logos li:hover {
  opacity: 1;
}

.sl-logos img {
  height: 38px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.8;
  transition: all 0.25s ease;
}

.sl-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .sl-trust__wrap {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .sl-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .sl-logos img {
    height: 30px;
  }
}

/* ——— CASE: extras ——— */
.sl-case__copy {
  max-width: 640px;
}

.sl-case__shot {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

.sl-case__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* llena sin deformar */
  display: block;
}

.sl-case__shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  background: #000;
}

/* Badge/etiqueta encima de la imagen */
.sl-case__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(11, 43, 69, 0.9); /* var(--sl-navy) con transparencia */
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.sl-case__badge strong {
  font-size: 1.1rem;
  margin-right: 6px;
}

@media (max-width: 900px) {
  .sl-case__copy {
    order: 2;
  } /* imagen arriba en mobile (si quieres, quita estas dos líneas) */
  .sl-case__shot {
    order: 1;
  }
}

/* === CTA FINAL === */
.sl-cta {
  position: relative;
  background: linear-gradient(180deg, rgb(11 43 69 / 87%), rgb(6 24 36 / 56%)),
    url("assets/img/dashboard.webp") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
}

.sl-cta__wrap {
  position: relative;
  z-index: 2; /* asegura que el texto quede encima */
  display: grid;
  gap: 16px;
  justify-items: center;
}

.sl-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.sl-cta .sl-note {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
}

.sl-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1; /* capa de oscurecimiento */
}

.sl-btn--green {
  background: var(--sl-green);
  color: #fff;
  border: 2px solid transparent;
}
.sl-btn--green:hover {
  filter: brightness(0.95);
}

@media (max-width: 768px) {
  .sl-cta {
    padding: 80px 16px;
    background-position: center;
  }
}

/* === FORMULARIO FLUENTCRM === */
.fluentcrm_form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: "Montserrat", sans-serif;
  max-width: 480px;
  margin: 0 auto;
}

.fluentcrm_form input[type="text"],
.fluentcrm_form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #cfe1ea;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fluentcrm_form input[type="text"]:focus,
.fluentcrm_form input[type="email"]:focus {
  border-color: var(--sl-green);
  box-shadow: 0 0 0 2px rgba(15, 165, 107, 0.1);
  outline: none;
}

/* Botón principal */
.fluentcrm_form button,
.fluentcrm_form input[type="submit"] {
  background: var(--sl-green);
  color: #fff;
  border: none;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fluentcrm_form button:hover,
.fluentcrm_form input[type="submit"]:hover {
  background: #0d915f;
}

/* Mensajes de éxito / error */
.fluentcrm_form .fc_message_success {
  color: var(--sl-green);
  font-weight: 600;
  background: #e6f6f0;
  padding: 12px;
  border-radius: 10px;
}

.fluentcrm_form .fc_message_error {
  color: #d93025;
  background: #fdecea;
  padding: 12px;
  border-radius: 10px;
}
