.sp-main-container {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

/* BARRA DE NAVEGACIÓN */
.sp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.sp-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2c3e50;
}

.logo{
    max-height: 300px;  /* altura máxima */
    max-width: 300px;  /* ancho máximo */
    
    /* height: auto;
    width: auto; */
}

.sp-nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s;
}

.sp-nav a:hover {
  color: #3498db;
}

.sp-login-btn {
  padding: 5px 15px;
  background-color: #3498db;
  color: #fff;
  border-radius: 5px;
}

.sp-login-btn:hover {
  background-color: #2980b9;
}

/* SECCIONES */
.sp-section {
  padding: 80px 50px;
}

.sp-banner {
  background: linear-gradient(to right, #3498db, #2980b9);
  color: white;
  text-align: center;
}

.sp-banner-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.sp-banner-content span {
  font-weight: bold;
}

.sp-btn-primary {
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #fff;
  color: #3498db;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.sp-btn-primary:hover {
  background-color: #ecf0f1;
}

/* CARRUSEL DE SOLUCIONES */

.sp-section.sp-soluciones{
    align-items: center;
}
.sp-soluciones-carousel {
  overflow: hidden;
  position: relative;
  width: 60%;      /* ancho deseado */
  margin: 0 auto;  /* centra horizontalmente */
}


.sp-soluciones-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: sp-slide 30s linear infinite;
}

@keyframes sp-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Ajusta según cantidad de tarjetas */
}

/* Mismo estilo de tarjetas */
.sp-tarjeta {
  flex: 0 0 400px;       
  min-height: 300px;    
  background-color: #f3f3f3;
  border-radius: 15px;  
  padding: 35px 25px;   
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}


.sp-tarjeta:hover {
  transform: translateY(-10px);
}

/* Detener animación si el usuario pasa el mouse */
.sp-soluciones-carousel:hover .sp-soluciones-track {
  animation-play-state: paused;
}
.sp-soluciones-carousel h2 {
    text-align: center;   /* centra el texto */
    margin-bottom: 30px;  /* espacio debajo del título */
    font-size: 2rem;      /* opcional: tamaño de título */
    color: #333;          /* opcional: color */
}


/* PLANES */
.sp-planes h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.sp-planes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.sp-plan-card {
  background-color: #fefefe;
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.sp-plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.sp-plan-card h3 {
  margin-bottom: 20px;
}

.sp-plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.sp-plan-card ul li {
  margin-bottom: 10px;
}

.sp-btn-secondary {
  padding: 10px 20px;
  border: none;
  background-color: #3498db;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.sp-btn-secondary:hover {
  background-color: #2980b9;
}

/* FOOTER */
.sp-footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 25px 0;
  margin-top: 50px;
}

.sp-login-dropdown {
  position: relative;
  display: inline-block;
}

.sp-login-menu {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 6px;
  overflow: hidden;
  min-width: 150px;
  z-index: 100;
}

.sp-login-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

.sp-login-menu a:hover {
  background-color: #f0f0f0;
}

/* Mostrar menú al pasar el mouse o al hacer clic */
.sp-login-dropdown:hover .sp-login-menu {
  display: block;
}


/* ====== SECCIÓN NOSOTROS ====== */
.sp-nosotros {
  padding: 80px 20px;
  background: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
}

.sp-nosotros-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.sp-nosotros-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
}

.sp-nosotros-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  line-height: 1.6;
}

.sp-nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.sp-nosotros-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-nosotros-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.sp-nosotros-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #3190d0; /* Color principal */
}

.sp-nosotros-card p,
.sp-nosotros-card ul {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.sp-nosotros-card ul {
  list-style: none;
  padding-left: 0;
}

.sp-nosotros-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.sp-nosotros-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #3190d0;
  font-size: 1rem;
}
/* ====== SECCIÓN CONTACTO ====== */
.sp-contacto {
  padding: 80px 20px;
  background: #3190d0; /* Color corporativo */
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.sp-contacto-content {
  max-width: 1100px;
  margin: 0 auto;
}

.sp-contacto-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.sp-contacto-text {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.sp-contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.sp-contacto-info h3,
.sp-contacto-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.sp-contacto-info p {
  margin: 8px 0;
  font-size: 1rem;
}

.sp-contacto-redes a {
  margin-right: 15px;
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.3s;
}

.sp-contacto-redes a:hover {
  color: #f1f1f1;
}

/* ===== FORMULARIO ===== */
.sp-contacto-form form {
  display: flex;
  flex-direction: column;
}

.sp-contacto-form input,
.sp-contacto-form textarea {
  margin-bottom: 15px;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.sp-contacto-form input:focus,
.sp-contacto-form textarea:focus {
  outline: 2px solid #fff;
}

.sp-contacto-form button {
  background: #fff;
  color: #3190d0;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.sp-contacto-form button:hover {
  background: #f1f1f1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sp-contacto-grid {
    grid-template-columns: 1fr;
  }
  .sp-contacto-text {
    margin-bottom: 30px;
  }
}


/* CREAR CUENTA  */

/* ====== GRID CREAR CUENTA ====== */
.crear-cuenta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

/* Contenedor del formulario */
.crear-cuenta-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);

  display: flex;              /* Activa Flexbox */
  flex-direction: column;     /* Apila los items de arriba a abajo */
  justify-content: center;    /* Centra verticalmente */
  min-height: 400px;          /* Le das altura mínima (ajusta a tu gusto) */
}
.crear-cuenta-form h2 {
  margin-bottom: 20px;
  color: #3190d0;
  text-align: center;
}

.crear-cuenta-form .form-group {
  margin-bottom: 15px;
}

.crear-cuenta-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.crear-cuenta-form input,
.crear-cuenta-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.btn-crear {
  display: block;
  width: 100%;
  padding: 14px;
  background: #3190d0;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn-crear:hover {
  background: #2778b5;
}

/* Planes */


.sp-planes-container-registro {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .crear-cuenta-grid {
    grid-template-columns: 1fr;
  }
}



