/* ==========================================================================
   SINGLE CONTACTO - RESET DEL SITE-CONTENT
   ========================================================================== */
body.single-contacto .site-content {
  display: block !important;
  padding-top: 0 !important;
}

/* ==========================================================================
   CONTENEDOR PRINCIPAL (wrapper)  
   ========================================================================== */
body.single-contacto main.single-crud {
  background-color: #f4f7fa;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   TARJETA
   ========================================================================== */
body.single-contacto .cliente-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 40px;
}

/* Cabecera oscura */
body.single-contacto .cliente-card__header {
  background-color: #2d3a49;
  padding: 24px;
  text-align: center;
}
body.single-contacto .cliente-card__header h1 {
  margin: 0;
  color: #fff;
  font-size: 1.75rem;
}

/* Cuerpo de la tarjeta */
body.single-contacto .cliente-card__body {
  padding: 24px;
}

/* ==========================================================================
   LISTA DE DATOS DEL CONTACTO
   ========================================================================== */
body.single-contacto .contacto-datos {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.single-contacto .contacto-datos li {
  display: flex;
  justify-content: space-between;
  background: #ecf4fb;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 12px;
}
body.single-contacto .contacto-datos .label {
  font-weight: 600;
  color: #2c3e50;
}
body.single-contacto .contacto-datos .value {
  color: #34495e;
}
/* Enlaces dentro de “value” */
body.single-contacto .contacto-datos .value a {
  color: #2980b9;
  text-decoration: none;
  transition: color 0.2s;
}
body.single-contacto .contacto-datos .value a:hover {
  color: #1f669e;
}

/* ==========================================================================
   ADAPTACIÓN MÓVIL
   ========================================================================== */
@media (max-width: 600px) {
  body.single-contacto main.single-crud {
    padding: 40px 0;
  }
  body.single-contacto .cliente-card {
    margin: 0 16px 40px;
  }
}




/* === Página de Gestor de Tareas === */
.container-tareas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.container-tareas h1 {
  font-size: 2.5rem;
  color: #141e30;
  font-weight: 700;
  margin-bottom: 40px;
}

.btn-nueva-tarea {
  display: inline-block;
  background-color: #2f2d40;
  color: #ffffff !important; /* ← asegura visibilidad */
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(47, 45, 64, 0.2);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-nueva-tarea:hover {
  background-color: #1e1d2a;
  color: #ffffff !important; /* ← mantiene blanco en hover */
}


.lista-tareas {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tarea-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.tarea-item h2 {
  font-size: 1.2rem;
  color: #141e30;
  margin: 0 0 8px;
  flex: 1 1 100%;
  font-weight: 600;
}

.tarea-item p {
  color: #444;
  font-size: 0.95rem;
  margin: 0 0 14px;
  flex: 1 1 100%;
}

.acciones {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.acciones a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

/* Estilo igual que tabla de clientes */
.acciones a.ver {
  color: #00a896; /* teal */
}

.acciones a.ver:hover {
  text-decoration: underline;
}

.acciones a.editar {
  color: #43aa8b; /* verde suave */
}

.acciones a.editar:hover {
  text-decoration: underline;
}

.acciones a.eliminar {
  color: #e63946; /* rojo fuerte */
}

.acciones a.eliminar:hover {
  text-decoration: underline;
}






/*  INICIO*/

.hero-clientera {
  background: linear-gradient(135deg, #f0f4ff, #e8edff);
  padding: 100px 20px 80px;
  text-align: center;
}

.hero-clientera .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-clientera h1 {
  font-size: 2.8rem;
  color: #1c1e21;
  margin-bottom: 20px;
}

.hero-clientera p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 35px;
}

.btn-hero {
  display: inline-block;
  background-color: #5b3cf0;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-hero:hover {
  background-color: #452bd4;
}



/* */

.seccion-caracteristicas {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.seccion-caracteristicas h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #141e30;
}

.columnas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.columna {
  background: #f8f9fc;
  border-radius: 12px;
  padding: 25px;
  max-width: 300px;
  flex: 1 1 280px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.columna:hover {
  transform: translateY(-5px);
}

.icono {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.columna h3 {
  font-size: 1.3rem;
  color: #1c1e21;
  margin-bottom: 10px;
}

.columna p {
  color: #555;
  font-size: 1rem;
}
 
 
 /**/
 
 .seccion-funciona {
  background-color: #f3f4f6;
  padding: 60px 20px;
  text-align: center;
}

.seccion-funciona h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #141e30;
}

.pasos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.paso {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  max-width: 280px;
  flex: 1 1 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.paso:hover {
  transform: translateY(-5px);
}

.numero {
  background-color: #5b3cf0;
  color: white;
  width: 48px;
  height: 48px;
  font-weight: bold;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 15px auto;
}

.paso h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1c1e21;
}

.paso p {
  font-size: 1rem;
  color: #555;
}


/* */

.seccion-cta {
  background: linear-gradient(135deg, #5b3cf0, #3d2b9b);
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.cta-contenido {
  max-width: 700px;
  margin: 0 auto;
}

.seccion-cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.seccion-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-cta {
  display: inline-block;
  background-color: white;
  color: #5b3cf0;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-cta:hover {
  background-color: #eae8ff;
  color: #3d2b9b;
}


/**/


.seccion-ventajas {
  padding: 80px 20px;
  background-color: #f9f9fb;
  text-align: center;
}

.seccion-ventajas h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #1c1e21;
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.ventaja {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ventaja h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #5b3cf0;
}

.ventaja p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/**/

.seccion-tecnologias {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.seccion-tecnologias h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1c1e21;
}

.tecnologias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.tecnologia {
  background-color: #f0f1ff;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  color: #4b4f66;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: background-color 0.2s ease;
}

.tecnologia:hover {
  background-color: #d8dafe;
}


/**/

.seccion-demo {
  padding: 80px 20px;
  background-color: #f9fafe;
  text-align: center;
}

.seccion-demo h2 {
  font-size: 2rem;
  color: #1c1e21;
  margin-bottom: 20px;
}

.seccion-demo .descripcion {
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

.demo-imagen img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/*INICIOoo*/
.clientera-cta {
  background: linear-gradient(135deg, #5865f2, #7b6ef6);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.clientera-cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.clientera-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn-cta {
  display: inline-block;
  background-color: #fff;
  color: #5865f2;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: #e6e6ff;
  color: #3f48cc;
}
