 /* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Ubuntu', sans-serif; line-height: 1.6; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #0078d7;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
}
.logo-container { display: flex; align-items: center; }
.logo { height: 40px; }
nav { display: flex; gap: 2rem; margin-right: 40px; }
nav a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: #ffdd57; }

/* Hero con slideshow */
#inicio {
  position: relative;
  height: 50vh;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  overflow: hidden;
}
.slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
}
.slide {
  position: absolute;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
.slide.active { opacity: 1; }
.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8); /* negro con 50% transparencia */
  z-index: 1; /* encima de las imágenes */
}
.slideshow { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -2; }
.slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2s ease-in-out; z-index: 0; }
.slide.active { opacity: 1; }
.hero-content { position: relative; z-index: 2; } /* el texto siempre arriba */
.hero-content { position: relative; max-width: 800px; padding: 2rem; }
#typed-text {
  font-size: 2.5rem;
  font-weight: 800;
  min-height: 3rem;
  text-shadow: 4px 4px 12px rgba(0,0,0,0.9);
}
.subtitulo {
  font-size: 1.8rem;
  margin-top: 1.6rem;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.9);
}
.btn {
  display: inline-block;
  background: #ffdd57;
  color: #333;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 1.5rem;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
}
.btn:hover { background: #ffc107; }

/* Secciones */
section { min-height: 100vh; padding: 6rem 2rem 2rem; }
#informacion { background: #f5f7fa; }
#precios { background: #e9f0f7; }
#contacto { background: #333; color: white; }
h2 { margin-bottom: 1rem; color: #0078d7; }
#inicio h2 { color: white; }

/* Contacto */
.contact-title {
  text-align: center;
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
form { max-width: 800px; margin: auto; }
.form-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.form-group { flex: 1; display: flex; flex-direction: column; }
.form-group label { margin-bottom: 0.2rem; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  font-family: 'Ubuntu', sans-serif;
}
.full-width textarea { width: 100%; min-height: 120px; resize: vertical; }
.right-align { display: flex; justify-content: flex-end; }
.submit-btn {
  background: #FF8000;
  color: white;
  font-weight: 700;
  font-family: 'Ubuntu', sans-serif;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover { background: #e56f00; }
#form-response { margin-top: 1rem; font-weight: bold; color: #ffdd57; }

/* Responsive */
@media (max-width: 768px) {
  header { flex-direction: column; align-items: flex-start; }
  nav { margin: 1rem 0 0 0; gap: 1rem; }
  .logo { height: 45px; }
  #inicio { padding-top: 8rem; }
  #typed-text { font-size: 2rem; }
  .subtitulo { font-size: 1.2rem; }
  .form-row { flex-direction: column; }
}

 /* Grid de información AQUI VA LA ALINEACIÓN DE LAS 10 IMÁGENES*/
.info-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columnas fijas */
  gap: 20px;
  justify-items: center;
  margin-top: 2rem;
}

.info-item {
  text-align: center;
}

.info-box {
  width: 150px;
  height: 150px;
  background-size: contain;       /* respeta transparencia del PNG */
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;               /* sin bordes redondeados para PNG */
  margin-bottom: 0.5rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25); /* leve sombra gaussiana gris */
  transition: transform 0.3s ease; /* animación suave */
}

.info-box:hover {
  transform: translateY(-8px); /* se eleva un poco */
}

.info-item p {
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.2rem;
}

html {
  scroll-behavior: smooth; /* desplazamiento suave entre secciones */
}

.info-box {
  width: 150px;
  height: 150px;
  background-size: contain;       /* respeta transparencia del PNG */
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 25px;            /* bordes redondeados */
  margin-bottom: 0.5rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25); /* leve sombra gaussiana gris */
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateY(-8px); /* se eleva suavemente */
}

/* Título de la sección Información */
.info-title {
  text-align: center;
  color: #222f3e;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(-30px); /* empieza más arriba */
  transition: all 1s ease;      /* animación suave */
}

/* Cuando la sección entra en pantalla */
.info-title.visible {
  opacity: 1;
  transform: translateY(0); /* baja y se coloca en su lugar */
}

/* Textos debajo de las imágenes */
.info-item p {
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.2rem;
  margin-top: 5px;              /* 5px debajo de la imagen */
  color: #222f3e;
  font-family: 'Ubuntu', sans-serif;
}

 .info-item p {
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.5rem;
  margin-top: 20px;              /* ahora mucho más separado de la imagen */
  color: #222f3e;
  font-family: 'Ubuntu', sans-serif;
}

/* Título de la sección Información */
.info-title {
  text-align: center;
  color: #222f3e;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;   /* antes estaba en 2rem, ahora mucho más cerca de las imágenes */
  opacity: 0;
  transform: translateY(-30px);
  transition: all 1s ease;
}

/* Cuando la sección entra en pantalla */
.info-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.info-title {
  margin-top: -20px;   /* lo sube respecto al inicio de la sección */
  margin-bottom: 0.5rem; /* lo acerca a las imágenes */
}

/* Rectángulos grandes debajo de las imágenes */
.info-rectangles {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.info-rectangle {
  width: 450px;
  height: 700px;
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.2rem;
  color: #222f3e;
}

/* Header */
header {
  background-color: #222f3e;   /* color azul oscuro */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Links del menú */
header nav a {
  color: white;                /* texto en blanco para contraste */
  text-decoration: none;
  margin: 0 15px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #00aaff;              /* color de hover opcional */
}

/* Botón flotante volver arriba */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: #222f3e; /* círculo azul oscuro */
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: #00aaff; /* color al pasar el mouse */
}

.info-rectangle {
  width: 450px;
  height: 700px;
  background-size: cover;       /* que la imagen cubra todo el rectángulo */
  background-position: center;  /* centrada */
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
/* Rectángulos grandes */
.info-rectangles {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.info-rectangle {
  width: 450px;
  height: 700px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4); /* sombra gaussiana */
  opacity: 0;
  transform: translateY(-100px);
}

/* Capa negra semitransparente */
.info-rectangle .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

/* Texto encima del banner */
.banner-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  z-index: 2;
}

/* Animación cascada */
@keyframes fallIn {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cascade1 {
  background-image: url('imagenes/banner1.png');
  animation: fallIn 1s ease forwards;
  animation-delay: 0.5s;
}

.cascade2 {
  background-image: url('imagenes/banner2.png');
  animation: fallIn 1s ease forwards;
  animation-delay: 1.5s;
}

.cascade3 {
  background-image: url('imagenes/banner3.png');
  animation: fallIn 1s ease forwards;
  animation-delay: 2.5s;
}

/* Texto encima del banner */
.banner-text {
  position: absolute;
  top: 20px;              /* parte superior */
  left: 50%;
  transform: translateX(-50%); /* centrado horizontal */
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.9rem;      /* antes 1.4rem, ahora +5px aprox */
  font-weight: 700;
  text-align: center;
  z-index: 2;
  line-height: 1.6rem;
}

.info-rectangles {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 6rem; /* antes 3rem, ahora más abajo */
}

/* Rectángulos */
.info-rectangle {
  width: 450px;
  height: 700px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(-100px);
}

.cascade1,
.cascade2,
.cascade3 {
  animation-play-state: paused; /* no animan hasta que JS lo active */
}

/* Overlay negro */
.info-rectangle .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

/* Texto encima del banner */
.banner-text {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;               /* casi todo el ancho del rectángulo */
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 2.2rem;        /* +3px más grande */
  font-weight: 700;
  text-align: center;
  z-index: 2;
  line-height: 1.3em;       /* interlineado más compacto */
  text-shadow: 0 4px 8px rgba(0,0,0,0.8); /* sombra gaussiana negra */
}

/* Animación cascada */
@keyframes fallIn {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cascade1 {
  animation: fallIn 1s ease forwards;
  animation-delay: 1.5s;
}

.cascade2 {
  animation: fallIn 1s ease forwards;
  animation-delay: 2.5s;
}

.cascade3 {
  animation: fallIn 1s ease forwards;
  animation-delay: 3.5s;
}


/* ============================
   SECCIÓN PRECIOS
============================ */
 /* SECCIÓN PRECIOS COMPARATIVA */

#precios {
  background: #e9f0f7;
  padding: 60px 20px;
}

.precios-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0078d7;
  margin-bottom: 40px;
}

/* Grid comparativo */
.pricing-compare {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; /* funciones + 3 planes */
  border-top: 1px solid #ccc;
}

/* Encabezados */
.pc-header {
  padding: 12px 10px;
  text-align: center;
  font-weight: 700;
  color: #222f3e;
  border-bottom: 1px solid #ccc;
  background: #d7e4f5;
}

.pc-header span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0078d7;
}

.pc-feature-title {
  border-bottom: 1px solid #ccc;
}

/* Filas de funciones */
.pc-feature {
  padding: 10px 10px;
  font-weight: 700;
  color: #222f3e;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
}

.pc-cell {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Checkbox visual (no editable) */
.check {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #28a745; /* verde */
  position: relative;
}

.check.yes::after {
  content: "✓";
  position: absolute;
  top: -4px;
  left: 3px;
  font-size: 20px;
  color: #28a745; /* palomita verde */
}

/* Responsive simple */
@media (max-width: 768px) {
  .pricing-compare {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    font-size: 0.9rem;
  }
}
/* Ajustes de precios */
.pc-header {
  font-size: 1.4rem; /* antes 1.2rem */
}

.pc-header span {
  font-size: 1.1rem; /* antes 0.9rem */
}

/* Botones de compra */
.pricing-buttons {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.buy-btn {
  background-color: #0078d7;
  color: white;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background-color: #005fa3;
}

#precios {
  background: #e9f0f7;
  padding: 60px 20px;
}

.precios-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0078d7;
  margin-bottom: 40px;
}

/* Grid comparativo */
.pricing-compare {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; /* funciones + 3 planes */
  border-top: 1px solid #ccc;
}

/* Encabezados */
.pc-header {
  padding: 12px 10px;
  text-align: center;
  font-weight: 700;
  color: #222f3e;
  border-bottom: 1px solid #ccc;
  background: #d7e4f5;
  font-size: 1.3rem;      /* reducido 1px */
}

.pc-header span {
  font-size: 1rem;        /* reducido 1px */
  font-weight: 500;
  color: #0078d7;
}

.pc-feature-title {
  border-bottom: 1px solid #ccc;
}

/* Filas de funciones */
.pc-feature {
  padding: 10px 10px;
  font-weight: 700;
  color: #222f3e;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
}

.pc-cell {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Checkbox visual (no editable) */
.check {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #28a745; /* verde */
  position: relative;
}

.check.yes::after {
  content: "✓";
  position: absolute;
  top: -4px;
  left: 3px;
  font-size: 20px;
  color: #28a745;
}

/* Botones dentro de la tabla, alineados por columna */
.buy-btn {
  background-color: #0078d7;
  color: white;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background-color: #005fa3;
}

/* Responsive simple */
@media (max-width: 768px) {
  .pricing-compare {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    font-size: 0.9rem;
  }
}
 .buy-btn {
  display: inline-block;
  background-color: #0078d7;
  color: white;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background-color: #005fa3;
}
 
.captcha-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.captcha-left {
  flex: 1;
}

.captcha-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.captcha-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.captcha-left {
  flex: 1;
  min-width: 280px;
}

.captcha-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 200px;
}

/* Animación suave para la tabla de precios */
.pricing-compare {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.9s ease;
}

.pricing-compare.show {
  opacity: 1;
  transform: translateX(0);
}

.precios-subtexto {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem; /* 2px más grande */
  color: #000;
  margin-top: 2px; /* más pegado al título */
  margin-bottom: 20px;
  gap: 6px;
  width: 100%;
  text-align: center;
}

.flag-mx {
  width: 20px;
  height: auto;
  border-radius: 3px;
}

.system-reqs {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
}

.system-reqs h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

.system-reqs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.system-reqs li {
  margin: 5px 0;
}