/* =========================
   RESET
========================= */

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

body {
  font-family: 'Inter', sans-serif;
  color: #6b6f72;
  line-height: 1.65;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p {
  line-height: 1.65;
}

/* =========================
   CONTAINER
========================= */

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* =========================
   LINKS
========================= */

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   BOTONES
========================= */
button,
.cta-form__button,
.hero__button {
  transition: all .25s ease;
}

h2,
h3 {
  letter-spacing: -0.02em;
}

:root {
  --nav-height: 72px;
  --anchor-offset: calc(var(--nav-height) + 24px);
  }
  
  html {
    scroll-padding-top: var(--anchor-offset);
  }

/* =========================
  NAV 
========================= */

.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-top: 4px solid #2b2b2b;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* CONTENEDOR INTERNO */
.header__inner {
  height: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}

.brand {
  justify-self: start;
}

/* LOGO */
.brand__logo {
  height: 60px;
  width: auto;
  display: block;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav__link {
  position: relative;
  color: #000000;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: #2f7f82;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav__link:hover {
  color: #2f7f82;
}

.main-nav__link:hover::after {
  transform: scaleX(1);
}

/* =========================
  NAV TOGGLE
========================= */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #2f7f82;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* abierto */
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .header__inner {
    min-height: 76px;
    padding: 14px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
  }

  .brand {
    justify-self: start;
  }

  .brand__logo {
    height: 50px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    max-height: 0;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);

    transition:
      opacity 0.32s ease,
      transform 0.32s ease,
      max-height 0.32s ease,
      visibility 0.32s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 320px;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-top: none;
  }

  .main-nav__link {
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 12px 10px;
    border-radius: 10px;
  }

  .main-nav__link:hover {
    background: rgba(47, 127, 130, 0.06);
    color: #2f7f82;
  }

  .main-nav__link::after {
    bottom: -4px;
    display: none;
  }

  .main-nav__list li {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .main-nav.is-open .main-nav__list li {
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav.is-open .main-nav__list li:nth-child(1) {
    transition-delay: 0.14s;
  }

  .main-nav.is-open .main-nav__list li:nth-child(2) {
    transition-delay: 0.3s;
  }

  .main-nav.is-open .main-nav__list li:nth-child(3) {
    transition-delay: 0.46s;
  }
}


/* =========================
HERO
========================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(135deg, #2f7f82 0%, #2a7477 48%, #266d70 100%);
  color: #ffffff;
  min-height: clamp(420px, 70vh, 720px);
  padding: 4px 0 12px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero__container,
.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__container {
  width: min(1120px, 88%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(300px, 390px);
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
}

.hero__content {
  width: 100%;
  max-width: 920px;
  padding: 0;
}

.hero__title {
  width: 100%;
  max-width: 640px;
  font-size: 55px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
  color: #ffffff;
}

.hero__title-mobile {
  display: none;
}
.hero__text {
  max-width: 920px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 16px;
}

.hero__actions {
  margin-top: 0;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  transform: translateY(-10px) scale(0.9);
  transform-origin: center top;
}

.hero__visual-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  inset: 0;
  margin: auto;
}

.hero__visual-ring--one {
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 38px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(47, 127, 130, 0.16);
  opacity: 0.95;
  animation: slowSpin 24s linear infinite;
}

.hero__visual-ring--two {
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 26px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(248, 156, 69, 0.10);
  opacity: 0.9;
  animation: slowSpinReverse 18s linear infinite;
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__visual::before {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 68%);
  filter: blur(26px);
  opacity: 0.7;
}

.hero__visual::after {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(248, 156, 69, 0.22) 0%, rgba(248, 156, 69, 0) 72%);
  filter: blur(24px);
  opacity: 0.8;
}

.hero__card {
  position: absolute;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 16px 50px rgba(7, 28, 29, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero__card--main {
  width: min(100%, 360px);
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  animation: floatingCard 6s ease-in-out infinite;
}

.hero__card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.94rem;
  font-weight: 700;
}

.hero__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f89c45;
  box-shadow: 0 0 0 6px rgba(248, 156, 69, 0.14);
}

.hero__metric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.hero__metric div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.hero__metric small {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
}

.hero__metric strong {
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__bars {
  display: grid;
  gap: 10px;
}

.hero__bars span {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(248, 156, 69, 0.92));
  box-shadow: 0 6px 18px rgba(248, 156, 69, 0.18);
}

.hero__card--floating {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  animation: floatingCardSmall 7s ease-in-out infinite;
}

.hero__card--ticket {
  top: 8px;
  right: -6px;
}

.hero__card--auto {
  bottom: 52px;
  left: -8px;
  animation-delay: 1.2s;
}

.hero__card--report {
  bottom: -4px;
  right: 8px;
  animation-delay: 2.1s;
}

.mini-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(248, 156, 69, 0.18);
  color: #ffffff;
  flex-shrink: 0;
}

.mini-card__icon svg {
  width: 20px;
  height: 20px;
}

.hero__card--floating strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero__card--floating p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero__micro {
    margin-top: 1rem;
    margin-left: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.96);
    opacity: 0.9;
    letter-spacing: 0.2px;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 226px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 16px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    filter 0.28s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #f89c45 0%, #ee8f36 100%);
  color: #ffffff;
  border: 2px solid #f89c45;
  box-shadow:
    0 12px 28px rgba(248, 156, 69, 0.24),
    0 0 0 0 rgba(248, 156, 69, 0.24);
}

.btn-primary:hover {
  border-color: #e88b35;
  transform: translateY(-3px);
  box-shadow:
    0 18px 38px rgba(248, 156, 69, 0.32),
    0 0 0 10px rgba(248, 156, 69, 0.08);
  filter: brightness(1.03);
}

/* ANIMACIONES */
@keyframes heroGlow {
  from {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }

  to {
    transform: translateY(-10px) scale(1.04);
    opacity: 1;
  }
}

@keyframes heroGridDrift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(72px);
  }
}

@keyframes gridPulse {
  from {
    opacity: 0.28;
  }

  to {
    opacity: 0.5;
  }
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes slowSpinReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes floatingCard {

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

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

@keyframes floatingCardSmall {

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

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

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

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

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__content {
    max-width: 100%;
    padding-bottom: 12px;
  }

  .hero__visual {
    min-height: 360px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto 20px;
    transform: scale(0.82);
    transform-origin: center top;
  }
}

@media (max-width: 768px) {
  .hero__title {
    max-width: 100%;
    font-size: clamp(2.4rem, 10vw, 2.65rem);
    line-height: 1.05;
  }

    .hero__title-desktop {
      display: none;
    }
  
    .hero__title-mobile {
      display: block;
    }
    }

/* =========================
PROBLEMA
=========================*/
.problemas {
  background: #f4f6f6;
  padding: 72px 0 96px;
}

.problemas__title {
  font-size: 44px;
  font-weight: 700;
  color: #2f7f82;
  margin-bottom: 20px;
}

.problemas__intro {
  max-width: 920px;
  font-size: 16px;
  line-height: 1.65;
  color: #6b6f72;
  margin-bottom: 56px;
}

/* GRID */
.problemas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* CARD */
.problema-card {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.problema-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.10);
}

/* ICONO */
.problema-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #f3e6d7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  color: #2f7f82;
}

.problema-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.problema-card:hover .problema-icon,
.servicio-card:hover .servicio-card__icon {
  transform: translateY(-4px) scale(1.08) rotate(-2deg);
}

.problema-icon,
.servicio-card__icon {
  transition: transform .7s ease;
}

.problema-card,
.servicio-card {
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.problema-card:hover,
.servicio-card:hover {
  transform: translateY(-6px);
}

/* TITULO CARD */
.problema-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

/* TEXTO CARD */
.problema-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* CONCLUSIÓN */
.problemas__conclusion {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 70px;
}

@media (max-width: 1024px) {
  .problemas__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 640px) {
  .problemas__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .problemas__title {
    font-size: 38px;
  }
}
/* =========================
SECCION PROPUESTA
========================= */
.propuesta {
  padding: 50px 0 40px;
  background: #2f7f82;
}

.plataforma-intro {
  margin-top: 0;
  max-width: 1180px;
}

.plataforma-intro__top {
  max-width: 860px;
  margin: 0 0 52px;
}

.plataforma-intro__title {
  max-width: 100%;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 18px;
}

.plataforma-intro__text {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
}

/* PANEL GENERAL */
.plataforma-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(47, 127, 130, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(245, 247, 247, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
  box-shadow:
    0 10px 30px rgba(17, 17, 17, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

/* IZQUIERDA */
.plataforma-left {
  max-width: 100%;
  height: 100%;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2f7f82 0%, #256b6e 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(47, 127, 130, 0.22);
}

.plataforma-left__title {
  font-size: 1.85rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.plataforma-left__text {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 28ch;
}

/* DERECHA */
.plataforma-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}

.plataforma-feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 16px;
  padding: 22px 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(47, 127, 130, 0.1);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plataforma-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(16, 24, 40, 0.09);
  border-color: rgba(47, 127, 130, 0.22);
}

.plataforma-feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(47, 127, 130, 0.1);
  color: #2f7f82;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plataforma-feature__icon svg {
  width: 24px;
  height: 24px;
}

.plataforma-feature__content h4 {
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 800;
  color: #111111;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.plataforma-feature__content p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #5d6569;
  margin: 0;
}

/* TABLET */
@media (max-width: 991px) {
  .plataforma-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .plataforma-left {
    padding: 26px;
  }

  .plataforma-left__text {
    max-width: 100%;
  }

  .plataforma-features {
    grid-template-columns: 1fr 1fr;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .propuesta {
    padding: 84px 0 20px;
  }

  .plataforma-intro__top {
    margin-bottom: 32px;
  }

  .plataforma-intro__title {
    font-size: 38px;
  }

  .plataforma-intro__text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .plataforma-layout {
    padding: 18px;
    border-radius: 22px;
  }

  .plataforma-left {
    padding: 22px;
    border-radius: 18px;
  }

  .plataforma-left__title {
    font-size: 32px;
  }

  .plataforma-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .plataforma-feature {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 16px;
  }

  .plataforma-feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .plataforma-feature__icon svg {
    width: 20px;
    height: 20px;
  }

  .plataforma-feature__content h4 {
    font-size: 1rem;
  }

  .plataforma-feature__content p {
    font-size: 0.94rem;
  }
}

/* =========================
   SERVICIOS
=========================*/
.servicios {
  background: #2f7f82;
  padding: 72px 0 96px;
}


.servicios__title {
  max-width: 100%;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  color: white;
  margin: 0 0 48px;
}

.servicios__grid {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 38px;
  margin: 0;
}


.servicio-card {
  background: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 32px 28px;
  min-height: 196px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  filter: brightness(1.01);
}

.servicio-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e6f2f2;
  color: #2f7f82;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.servicio-card__icon svg {
  width: 22px;
  height: 22px;
}

.servicio-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.servicio-card__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

.servicio-card__text {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.6;
  color: #303030;
  margin: 0;
}

@media (max-width: 900px) {
  .servicios {
    padding: 84px 0;
  }

  .servicios__title {
    margin-bottom: 36px;
  }

  .servicios__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 20px;
  }

  .servicio-card {
    min-height: auto;
  }

  .servicio-card__text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .servicios__title {
    font-size: 38px;
  }
}





/* =========================
   IMPLEMENTACIÓN CLARA
========================= */

.implementacion-clara {
  padding: 50px 0 40px;
  margin-top: 0;
}


.implementacion-clara__title,
.onboarding__title,
.onboarding__benefits-title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
}

.implementacion-clara__title {
  color: #2f7f82;
  margin: 0 0 20px;

}

.onboarding__title {
  color: #2f7f82;
  margin: 0 0 20px;
}

.onboarding__benefits-title {
  color: #2f7f82;
  margin: 0 0 20px;
}

@media (max-width: 768px) {
  .implementacion-clara__title {
    font-size: 38px;
  }

  .onboarding__title,
  .onboarding__benefits-title {
    font-size: 32px;
  }
}
.implementacion-clara__subtitle {
  max-width: 920px;
  font-size: 16px;
  line-height: 1.65;
  color: #1f1f1f;
  margin: 0 0 40px;
}

.implementacion-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.implementacion-step {
  text-align: center;
  transition: transform 0.7s ease;
}

.implementacion-step:hover {
  transform: translateY(-6px);
}

.implementacion-step__icon-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
}

.implementacion-step__circle {
  width: 100px;
  height: 100px;
  border: 3px solid #2f7f82;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.implementacion-step__circle-inner {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.implementacion-step__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #2f7f82;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.implementacion-step__icon svg {
  width: 30px;
  height: 30px;
}

.implementacion-step__number {
  position: absolute;
  top: -2px;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f89c45;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.implementacion-step__title {
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 800;
  color: #111111;
  margin: 0 0 12px;
}

.implementacion-step__text {
  font-size: 1rem;
  line-height: 1.55;
  color: #1f1f1f;
  margin: 0 auto;
  max-width: 250px;
}


@media (max-width: 1024px) {
  .implementacion-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }
}

@media (max-width: 640px) {
  .implementacion-clara {
    padding: 84px 0 20px;
  }

  .implementacion-clara__subtitle {
    margin-bottom: 32px;
    font-size: 1.02rem;
  }

  .implementacion-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .implementacion-step__icon-wrap {
    width: 90px;
    height: 90px;
  }

  .implementacion-step__icon {
    width: 76px;
    height: 76px;
  }

  .implementacion-step__icon svg {
    width: 30px;
    height: 30px;
  }

  .implementacion-step__number {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .implementacion-step__text {
    max-width: 100%;
  }
}


/* =========================
   ONBOARDING
========================= */

.onboarding {
  margin-top: 40px;
  margin-bottom: 40px;
  /* MOD */
}

.onboarding__intro {
  max-width: 920px;
  /* MOD*/
  font-size: 16px;
  /* MOD*/
  line-height: 1.65;
  /* MOD */
  color: #1f1f1f;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   ONBOARDING GRID
========================= */

.onboarding__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 24px;
  text-align: center;
}

.onboarding__col {
  display: flex;
  flex-direction: column;
}

.onboarding__col:first-child {
  padding-right: 50px;
  border-right: 1px solid #eaeaea;
}

@media (max-width: 768px) {
  .onboarding__grid {
    gap: 0;
  }

  .onboarding__col:first-child {
    padding-right: 0;
    border-right: none;
  }
}


/* LISTAS */

.onboarding__list {
  list-style: none;
  padding: 0;
  margin: 0 0 64px 0;
}

.onboarding__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.onboarding__list li,
.onboarding__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  /* MOD*/
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ICONO CHECK SVG */

.check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.check-icon--green {
  color: #2f7f82;
}

.check-icon--orange {
  color: #f89c45;
}


/* =========================
   NOSOTROS
========================= */

.nosotros {
  background: #f4f6f6;
  padding: 72px 0 96px;
}


.nosotros__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.nosotros__left {
  max-width: 900px;
}

.nosotros__title {
  color: #2f7f82;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 20px;
}

.nosotros__text {
  color: #000000;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
}

.nosotros__text--last {
  margin-bottom: 0;
}

.nosotros__right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nosotros-metric {
  background: rgba(47, 127, 130, 0.68);
  ;
    border: 1px solid rgba(47, 127, 130, 0.22);
  border-radius: 18px;
  padding: 24px 22px;
  backdrop-filter: blur(4px);
}

.nosotros-metric__number {
  display: inline-block;
  color: #f89c45;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 10px;
}

.nosotros-metric__label {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  margin: 0;
}


@media (max-width: 900px) {
  .nosotros {
    padding: 84px 0;
  }

  .nosotros__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 768px) {
  .nosotros__title {
    font-size: 38px;
  }
}

/* =========================
   CTA FINAL
========================= */

.cta {
  background: #2f7f82;
  padding: 72px 0 96px;
}

.cta-final {
  background: #2f7f82;
  padding: 0px 0 0px;
}

.cta-final__header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 42px;
}

.cta-final__title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  max-width: 920px;
  margin: 0 auto 18px;
  text-wrap: balance;
}

.cta-final__subtitle {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
  color: #ffffff;
  margin: 8px 0 0;
}

/* =========================
   FORMULARIO CTA
========================= */

.cta-final__box {
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(99, 153, 155, 0.68);
  border: 1px solid rgba(115, 135, 136, 0.22);
  border-radius: 40px;
  padding: 40px 42px 34px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.cta-form {
  width: 100%;
}

.cta-form__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 1.1fr);
  grid-template-areas:
    "nombre empresa mensaje"
    "email telefono mensaje"
    "tipo tipo mensaje";
  gap: 10px 18px;
  align-items: start;
}

.cta-form__group {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.cta-form__group--nombre {
  grid-area: nombre;
}

.cta-form__group--empresa {
  grid-area: empresa;
}

.cta-form__group--email {
  grid-area: email;
}

.cta-form__group--telefono {
  grid-area: telefono;
}

.cta-form__group--tipo {
  grid-area: tipo;
}

.cta-form__group--mensaje {
  grid-area: mensaje;
}

.cta-form__group label {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.96);
}

.cta-form__group input,
.cta-form__group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  padding: 11px 14px;
  font: inherit;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.cta-form__group input::placeholder,
.cta-form__group textarea::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.cta-form__group input:focus,
.cta-form__group textarea:focus {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.cta-form__group textarea {
  resize: vertical;
  min-height: 146px;
  height: 100%;
}

.cta-form__error {
  min-height: 14px;
  margin-top: 4px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.92);
}

.cta-form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
}

.cta-form__button {
  width: min(520px, 100%);
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #f89c45 0%, #ee8f36 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 15px 24px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.2s ease;
}

.cta-form__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  filter: brightness(1.02);
}

.cta-form__button:active {
  transform: translateY(0);
}

.cta-form__status {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: #ffffff;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
  .cta-final {
    padding: 88px 0 108px;
  }

  .cta-final__header {
    margin-bottom: 34px;
  }

  .cta-final__title {
    font-size: clamp(2rem, 5vw, 3.1rem);
  }

  .cta-final__box {
    max-width: 100%;
    padding: 34px 28px 30px;
    border-radius: 32px;
  }

  .cta-form__layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "nombre empresa"
      "email telefono"
      "tipo tipo"
      "mensaje mensaje";
    gap: 8px 14px;
  }

  .cta-form__group textarea {
    min-height: 180px;
  }

  .cta-form__footer {
    margin-top: 16px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .cta-final {
    padding: 78px 0 96px;
  }

  .cta-final__header {
    margin-bottom: 28px;
  }

  .cta-final__title {
    font-size: 38px;
    line-height: 1.16;
  }

  .cta-final__subtitle {
    font-size: 1.02rem;
  }

  .cta-final__box {
    padding: 24px 18px 24px;
    border-radius: 24px;
  }

  .cta-form__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nombre"
      "empresa"
      "email"
      "telefono"
      "tipo"
      "mensaje";
    gap: 6px;
  }

  .cta-form__group label {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .cta-form__group input,
  .cta-form__group textarea {
    padding: 11px 13px;
    border-radius: 12px;
  }

  .cta-form__group textarea {
    min-height: 150px;
  }

  .cta-form__footer {
    margin-top: 14px;
  }

  .cta-form__button {
    width: 100%;
    padding: 15px 20px;
  }
}



/* =========================
   VALIDACIÓN FORMULARIO
========================= */

.cta-form__group input.error,
.cta-form__group textarea.error {
  border-color: #d93025;
  box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.12);
}

.cta-form__error {
  min-height: 18px;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #d93025;
}

/* =========================
  POPUP FLOTANTE
========================= */

.form-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 12px;

  min-width: 280px;
  max-width: 380px;

  padding: 14px 18px;
  border-radius: 14px;

  background: #ffffff;
  color: #1a1a1a;
  border-left: 5px solid #2f7f82;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.form-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.form-toast__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2f7f82;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.form-toast__text {
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .form-toast {
    right: 16px;
    left: 16px;
    bottom: 16px;
    min-width: auto;
    max-width: none;
  }
}



/* =========================
   FOOTER
========================= */

.footer {
  background: #f4f6f6;
  padding: 36px 0 18px;
  border-top: none;
  margin-top: 0;
}

.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

.footer__logo {
  height: 64px;
  width: auto;
}

/* REDES */

.footer__social {
  display: flex;
  gap: 18px;
}

.footer__social a {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #2f7f82;

  transition: transform .2s ease, opacity .2s ease;
}

.footer__social svg {
  width: 24px;
  height: 24px;
}

.footer__social a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.footer__credit {
  color: #2f7f82;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s ease;
}

.footer__credit:hover {
  color: #f89c45;
  text-decoration: underline;
}

/* BOTTOM */

.footer__bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);

  text-align: center;
  font-size: 0.85rem;
  color: #6b6f72;
}

@media (max-width: 768px) {

  .footer__container {
    flex-direction: column;
    gap: 18px;
  }

  .footer__bottom {
    text-align: center;
  }

}


/* =========================
  SCROLL SUAVE
========================= */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
  DELAY CARDS
========================= */

.reveal-delay-1 {
  transition-delay: 0.18s;
}

.reveal-delay-2 {
  transition-delay: 0.36s;
}

.reveal-delay-3 {
  transition-delay: 0.54s;
}

.reveal-delay-4 {
  transition-delay: 0.72s;
}

/* =========================
   ICON HOVER INTERACTION
========================= */

.servicio-card svg,
.problema-card svg,
.implementacion-step svg {
  transition: transform 0.35s ease;
}

.servicio-card:hover svg,
.problema-card:hover svg,
.implementacion-step:hover svg {
  transform: translateY(-4px) scale(1.06) rotate(-2deg);
}

.card,
.card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* =========================
   SCROLL TO TOP
========================= */

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #2f7f82;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  visibility: visible;

  transform: translateY(10px);

  transition:
    opacity .3s ease,
    transform .3s ease,
    visibility .3s ease,
    background .2s ease;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}


/* estado visible */

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #256a6d;
}

/* solo mobile */
@media (min-width: 769px) {
  .scroll-top {
    display: none;
  }
}
