@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(1, 5, 15, 0.84), rgba(1, 5, 15, 0.94)),
    url('../imagenes/fondo-interno.jpg') center / cover fixed no-repeat;
  color: #eef4ff;
  font-family: 'Poppins', sans-serif;
}

.soluciones-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 20px;
}

.soluciones-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 72px 20px 42px;
}

.soluciones-kicker,
.ecosistema-etiqueta {
  display: inline-block;
  margin: 0 0 10px;
  color: #7ec8ff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.soluciones-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 700;
  color: rgba(240, 246, 255, 0.98);
}

.soluciones-hero > p:last-child {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(198, 214, 242, 0.76);
  font-size: clamp(0.94rem, 1.7vw, 1.06rem);
  line-height: 1.75;
}

.soluciones-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.solucion-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.3fr);
  min-height: 290px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(110, 165, 255, 0.15);
  background: linear-gradient(145deg, rgba(11, 23, 48, 0.78), rgba(3, 9, 23, 0.92));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.solucion-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 153, 255, 0.42);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.46), 0 0 28px rgba(0, 88, 255, 0.08);
}

.solucion-visual {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 12, 30, 0.74);
  overflow: hidden;
}

.solucion-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90, 170, 255, 0.07), transparent 45%);
  pointer-events: none;
}

.solucion-visual > img {
  position: relative;
  z-index: 1;
}

.solucion-logo-oficial {
  display: block;
  width: 100%;
  height: auto;
  max-width: 260px;
  max-height: 210px;
  object-fit: contain;
  border-radius: 0;
}

.logo-plate {
  position: relative;
  z-index: 1;
  width: min(100%, 270px);
  min-height: 218px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
}

.logo-plate-claro {
  background: #ffffff;
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 12px 28px rgba(0, 0, 0, 0.18);
}

.logo-plate-claro .solucion-logo-oficial {
  max-width: 230px;
  max-height: 230px;
}

.logo-plate-oscuro {
  background: #000000;
  padding: 8px;
  box-shadow: inset 0 0 0 1px rgba(105, 156, 219, 0.14), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.logo-plate-oscuro .solucion-logo-oficial {
  max-width: 230px;
  max-height: 230px;
}

.solucion-visual-3d > img {
  width: min(235px, 96%);
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.solucion-visual-tpv {
  flex-direction: column;
  gap: 9px;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 190, 235, 0.12), transparent 55%),
    rgba(3, 10, 23, 0.82);
}

.solucion-visual-display {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.06), transparent 60%),
    rgba(3, 10, 23, 0.86);
}

.solucion-visual-ia {
  background:
    radial-gradient(circle at 50% 45%, rgba(34, 86, 162, 0.16), transparent 58%),
    rgba(2, 7, 17, 0.94);
}

.solucion-visual-3d {
  padding: 12px 10px;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 115, 255, 0.13), transparent 58%),
    rgba(3, 10, 23, 0.84);
}

.solucion-visual-tpv .tpv-icono {
  width: min(116px, 52%);
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.solucion-visual-tpv .tpv-texto {
  width: min(230px, 90%);
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.edicion-actual {
  color: #f2f6fb;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.solucion-contenido {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.solucion-sector {
  color: #7ec8ff;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
}

.solucion-contenido h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: rgba(242, 247, 255, 0.98);
}

.solucion-contenido p {
  margin: 0;
  color: rgba(195, 211, 240, 0.76);
  font-size: 0.9rem;
  line-height: 1.7;
}

.familia-tpv {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 15px;
  padding: 10px 12px;
  width: 100%;
  border-left: 2px solid rgba(51, 194, 235, 0.65);
  background: rgba(0, 136, 184, 0.08);
  color: rgba(220, 234, 248, 0.87);
  font-size: 0.78rem;
  line-height: 1.45;
}

.familia-tpv strong {
  color: #9fdff5;
  font-weight: 600;
}

.familia-tpv span {
  color: rgba(170, 195, 220, 0.64);
}

.solucion-enlace {
  margin-top: auto;
  padding-top: 19px;
  color: #8fcaff;
  font-size: 0.82rem;
  font-weight: 600;
}

.ecosistema-hosteleria {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 34px;
  align-items: center;
  margin: 30px 0 0;
  padding: 32px 34px;
  border: 1px solid rgba(0, 163, 220, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(0, 98, 150, 0.13), rgba(4, 12, 29, 0.86));
}

.ecosistema-hosteleria h2 {
  margin: 0 0 10px;
  color: #f0f6ff;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.ecosistema-hosteleria p {
  margin: 0;
  color: rgba(198, 214, 240, 0.74);
  line-height: 1.75;
  font-size: 0.91rem;
}

.ecosistema-enlaces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ecosistema-enlaces a {
  text-decoration: none;
  color: #eaf6ff;
  padding: 12px 15px;
  border-radius: 9px;
  border: 1px solid rgba(67, 181, 224, 0.32);
  background: rgba(0, 105, 151, 0.13);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ecosistema-enlaces a:hover {
  background: rgba(0, 126, 180, 0.2);
  border-color: rgba(83, 200, 244, 0.52);
}

.ecosistema-enlaces a small {
  display: block;
  margin-top: 2px;
  color: rgba(170, 204, 228, 0.72);
  font-size: 0.7rem;
  font-weight: 500;
}

.ecosistema-enlaces span {
  color: #58c8eb;
  font-weight: 700;
}

.soluciones-acciones {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 12px;
}

.soluciones-acciones a {
  text-decoration: none;
  color: rgba(196, 220, 255, 0.88);
  border: 1px solid rgba(70, 140, 240, 0.25);
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.soluciones-acciones a:hover {
  border-color: rgba(85, 160, 255, 0.5);
  color: white;
  background: rgba(0, 82, 190, 0.1);
}

.soluciones-acciones .soluciones-contacto {
  color: white;
  background: linear-gradient(90deg, #0038cf, #095fff);
  border-color: transparent;
}

@media screen and (max-width: 980px) {
  .soluciones-grid {
    grid-template-columns: 1fr;
  }

  .solucion-card {
    grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.3fr);
  }

  .ecosistema-hosteleria {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 650px) {
  body {
    background-image:
      linear-gradient(rgba(1, 5, 15, 0.86), rgba(1, 5, 15, 0.96)),
      url('../imagenes/fondo-interno-vertical.jpg');
    background-attachment: scroll;
  }

  .soluciones-main {
    width: min(100% - 24px, 560px);
  }

  .soluciones-hero {
    padding: 48px 8px 30px;
  }

  .solucion-card {
    grid-template-columns: 1fr;
  }

  .solucion-visual {
    min-height: 190px;
  }

  .solucion-logo-oficial {
    max-height: 190px;
  }

  .solucion-visual-3d > img {
    width: min(225px, 92%);
    max-height: none;
  }

  .logo-plate {
    min-height: 190px;
  }

  .solucion-contenido {
    padding: 22px 20px 24px;
  }

  .ecosistema-hosteleria {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solucion-card,
  .ecosistema-enlaces a {
    transition: none;
  }

  .solucion-card:hover {
    transform: none;
  }
}

/* FINAL 2026-08-14: equilibrio óptico de marcas */
.familia-tpv-final{padding-top:11px;padding-bottom:11px;}
.logo-plate-claro,.logo-plate-oscuro{width:min(100%,245px);min-height:218px;}
.logo-plate-claro .solucion-logo-oficial,.logo-plate-oscuro .solucion-logo-oficial{max-width:225px;max-height:225px;}
.solucion-visual-3d > img{width:min(255px,98%);}
@media(max-width:720px){.solucion-visual-3d > img{width:min(245px,95%);}}
